/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTreeAdaptor.cs | 242 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument 244 fromToken = CreateToken( fromToken ); in Create() 245 fromToken.Type = tokenType; in Create() 246 object t = Create( fromToken ); in Create() 250 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument 252 if ( fromToken == null ) in Create() 255 fromToken = CreateToken( fromToken ); in Create() 256 fromToken.Type = tokenType; in Create() 257 fromToken.Text = text; in Create() 258 object result = Create(fromToken); in Create() [all …]
|
D | ITreeAdaptor.cs | 75 object Create(int tokenType, IToken fromToken); in Create() argument 87 object Create(int tokenType, IToken fromToken, string text); in Create() argument 99 object Create(IToken fromToken, string text); in Create() argument
|
D | CommonTreeAdaptor.cs | 92 public override IToken CreateToken( IToken fromToken ) in CreateToken() argument 94 return new CommonToken( fromToken ); in CreateToken()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTreeAdaptor.cs | 198 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument 199 fromToken = CreateToken(fromToken); in Create() 201 fromToken.Type = tokenType; in Create() 202 ITree t = (ITree)Create(fromToken); in Create() 206 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument 207 if (fromToken == null) in Create() 210 fromToken = CreateToken(fromToken); in Create() 211 fromToken.Type = tokenType; in Create() 212 fromToken.Text = text; in Create() 213 ITree t = (ITree)Create(fromToken); in Create() [all …]
|
D | ITreeAdaptor.cs | 206 object Create(int tokenType, IToken fromToken); in Create() argument 218 object Create(int tokenType, IToken fromToken, string text); in Create() argument
|
D | CommonTreeAdaptor.cs | 105 public override IToken CreateToken(IToken fromToken) { in CreateToken() argument 106 return new CommonToken(fromToken); in CreateToken()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 191 public Object create(int tokenType, Token fromToken) { in create() argument 192 fromToken = createToken(fromToken); in create() 194 fromToken.setType(tokenType); in create() 195 Tree t = (Tree)create(fromToken); in create() 200 public Object create(int tokenType, Token fromToken, String text) { in create() argument 201 if (fromToken == null) return create(tokenType, text); in create() 202 fromToken = createToken(fromToken); in create() 203 fromToken.setType(tokenType); in create() 204 fromToken.setText(text); in create() 205 Tree t = (Tree)create(fromToken); in create() [all …]
|
D | TreeAdaptor.java | 169 public Object create(int tokenType, Token fromToken); in create() argument 177 public Object create(int tokenType, Token fromToken, String text); in create() argument
|
D | CommonTreeAdaptor.java | 89 public Token createToken(Token fromToken) { in createToken() argument 90 return new CommonToken(fromToken); in createToken()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.js | 139 create: function(tokenType, fromToken) { argument 144 fromToken = this.createToken(tokenType, text); 145 t = this.create(fromToken); 148 fromToken = this.createToken(fromToken); 149 fromToken.setType(tokenType); 150 t = this.create(fromToken); 155 fromToken = this.createToken(fromToken); 156 fromToken.setType(tokenType); 157 fromToken.setText(text); 158 t = this.create(fromToken);
|
/external/antlr/runtime/C/src/ |
D | antlr3basetreeadaptor.c | 58 …ken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 59 …oken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 60 …ASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 t… 61 …ASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 t… 760 …eToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken) in createTypeToken() argument 764 fromToken = adaptor->createTokenFromToken(adaptor, fromToken); in createTypeToken() 768 fromToken->setType(fromToken, tokenType); in createTypeToken() 772 return (pANTLR3_BASE_TREE)adaptor->create(adaptor, fromToken); in createTypeToken() 775 …eToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken) in dbgCreateTypeToken() argument 779 t = createTypeToken(adaptor, tokenType, fromToken); in dbgCreateTypeToken() [all …]
|
D | antlr3commontreeadaptor.c | 50 …MON_TOKEN createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN fromToken); 327 createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN fromToken) in createTokenFromToken() argument 340 newToken->toString = fromToken->toString; in createTokenFromToken() 342 if (fromToken->textState == ANTLR3_TEXT_CHARP) in createTokenFromToken() 345 newToken->tokText.chars = fromToken->tokText.chars; in createTokenFromToken() 349 text = fromToken->getText(fromToken); in createTokenFromToken() 354 newToken->setLine (newToken, fromToken->getLine(fromToken)); in createTokenFromToken() 355 newToken->setTokenIndex (newToken, fromToken->getTokenIndex(fromToken)); in createTokenFromToken() 356 newToken->setCharPositionInLine (newToken, fromToken->getCharPositionInLine(fromToken)); in createTokenFromToken() 357 newToken->setChannel (newToken, fromToken->getChannel(fromToken)); in createTokenFromToken() [all …]
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3commontreeadaptor.inl | 182 CommonTokenType* fromToken) argument 186 fromToken = this->createTokenFromToken(fromToken); 190 fromToken->setType(tokenType); 194 return this->create(fromToken); 199 …lTraits>::createTypeTokenText( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, const ANTLR_UIN… argument 203 fromToken = this->createTokenFromToken(fromToken); 207 fromToken->setType(tokenType); 211 fromToken->setText(text); 215 return this->create(fromToken); 221 CommonTokenType* fromToken; local [all …]
|
D | antlr3commontreeadaptor.hpp | 71 TreeType* createTypeToken( ANTLR_UINT32 tokenType, CommonTokenType* fromToken); 72 …TreeType* createTypeTokenText ( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, const ANTL… 89 CommonTokenType* createTokenFromToken( CommonTokenType* fromToken); 147 TreeType* createTypeToken(ANTLR_UINT32 tokenType, CommonTokenType* fromToken); 148 …TreeType* createTypeTokenText(ANTLR_UINT32 tokenType, CommonTokenType* fromToken, ANTLR_UINT8* tex…
|
/external/antlr/runtime/ObjC/Framework/ |
D | DebugTreeAdaptor.m | 161 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType 163 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken tokenType:tokenType]; 164 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:fromToken.text type:tokenType… 168 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType text:(NSStrin… 170 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken tokenType:tokenType text:tokenText]; 175 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken text:(NSString *)tokenText 177 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken text:tokenText]; 178 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:fromToken.type… 201 - (void) setBoundariesForTree:(id<BaseTree>)aTree fromToken:(id<Token>)startToken toToken:(id<Token… 203 [treeAdaptor setBoundariesForTree:aTree fromToken:startToken toToken:stopToken];
|
D | BaseTreeAdaptor.m | 225 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken 227 fromToken = [self createToken:fromToken]; 228 //((ClassicToken)fromToken).setType(tokenType); 229 [fromToken setType:tokenType]; 230 id t = [self create:fromToken]; 234 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken Text:(NSString *)text 236 if (fromToken == nil) 238 fromToken = [self createToken:fromToken]; 239 [fromToken setType:tokenType]; 240 [fromToken setText:text]; [all …]
|
D | TreeAdaptor.m | 75 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken 77 id<Token> newToken = [self createToken:fromToken]; 91 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken text:(NSString *)tokenText 93 id<Token> newToken = [self createToken:fromToken]; 220 - (void) setBoundariesForTree:(id)aTree fromToken:(id<Token>)startToken toToken:(id<Token>)stopToken
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 186 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument 188 object node = adaptor.Create( tokenType, fromToken ); in Create() 193 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument 195 object node = adaptor.Create( tokenType, fromToken, text ); in Create() 207 public object Create(IToken fromToken, string text) in Create() argument 209 object node = adaptor.Create(fromToken, text); in Create()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 146 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument 147 object node = adaptor.Create(tokenType, fromToken); in Create() 152 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument 153 object node = adaptor.Create(tokenType, fromToken, text); in Create()
|
/external/antlr/runtime/C/include/ |
D | antlr3basetreeadaptor.h | 94 …NTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken); 95 …ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 t… 120 …TokenFromToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, pANTLR3_COMMON_TOKEN fromToken);
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.as | 152 public function createFromToken(tokenType:int, fromToken:Token, text:String = null):Object { 153 fromToken = createToken(fromToken); 154 fromToken.type = tokenType; 156 fromToken.text = text; 158 return createWithPayload(fromToken); 162 var fromToken:Token = createTokenFromType(tokenType, text); 163 return createWithPayload(fromToken); 240 public function createToken(fromToken:Token):Token {
|
/external/antlr/runtime/Python3/antlr3/ |
D | tree.py | 425 def createFromToken(self, tokenType, fromToken, text=None): argument 1101 def createFromToken(self, tokenType, fromToken, text=None): argument 1102 if fromToken is None: 1106 assert isinstance(fromToken, Token), type(fromToken).__name__ 1109 fromToken = self.createToken(fromToken) 1110 fromToken.type = tokenType 1112 fromToken.text = text 1113 t = self.createWithPayload(fromToken) 1121 fromToken = self.createToken(tokenType=tokenType, text=text) 1122 t = self.createWithPayload(fromToken) [all …]
|
/external/antlr/runtime/Python/antlr3/ |
D | tree.py | 425 def createFromToken(self, tokenType, fromToken, text=None): argument 1108 def createFromToken(self, tokenType, fromToken, text=None): argument 1109 if fromToken is None: 1113 assert isinstance(fromToken, Token), type(fromToken).__name__ 1116 fromToken = self.createToken(fromToken) 1117 fromToken.type = tokenType 1119 fromToken.text = text 1120 t = self.createWithPayload(fromToken) 1128 fromToken = self.createToken(tokenType=tokenType, text=text) 1129 t = self.createWithPayload(fromToken) [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTreeAdaptor.java | 153 public Object create(int tokenType, Token fromToken) { in create() argument 154 Object node = adaptor.create(tokenType, fromToken); in create() 160 public Object create(int tokenType, Token fromToken, String text) { in create() argument 161 Object node = adaptor.create(tokenType, fromToken, text); in create()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/ |
D | ITreeAdaptor`1.cs | 194 T Create(int tokenType, IToken fromToken); in Create() argument 206 T Create(int tokenType, IToken fromToken, string text); in Create() argument
|