/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 182 public Object create(int tokenType, Token fromToken) { in create() argument 183 fromToken = createToken(fromToken); in create() 185 fromToken.setType(tokenType); in create() 186 Tree t = (Tree)create(fromToken); in create() 190 public Object create(int tokenType, Token fromToken, String text) { in create() argument 191 if (fromToken == null) return create(tokenType, text); in create() 192 fromToken = createToken(fromToken); in create() 193 fromToken.setType(tokenType); in create() 194 fromToken.setText(text); in create() 195 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 | 85 public Token createToken(Token fromToken) { in createToken() argument 86 return new CommonToken(fromToken); in createToken()
|
/external/antlr/antlr-3.4/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/antlr-3.4/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 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/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRDebugTreeAdaptor.m | 161 - (id<ANTLRBaseTree>) newANTLRTreeWithToken:(id<ANTLRToken>)fromToken tokenType:(NSInteger)tokenType 163 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithToken:fromToken tokenType:tokenType]; 164 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:fromToken.text type:tokenType… 168 - (id<ANTLRBaseTree>) newANTLRTreeWithToken:(id<ANTLRToken>)fromToken tokenType:(NSInteger)tokenTyp… 170 …id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithToken:fromToken tokenType:tokenType text:… 175 - (id<ANTLRBaseTree>) newANTLRTreeWithToken:(id<ANTLRToken>)fromToken text:(NSString *)tokenText 177 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithToken:fromToken text:tokenText]; 178 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:fromToken.type… 201 - (void) setBoundariesForTree:(id<ANTLRBaseTree>)aTree fromToken:(id<ANTLRToken>)startToken toToken… 203 [treeAdaptor setBoundariesForTree:aTree fromToken:startToken toToken:stopToken];
|
D | ANTLRBaseTreeAdaptor.m | 225 - (id)createTree:(NSInteger)tokenType FromToken:(id<ANTLRToken>)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<ANTLRToken>)fromToken Text:(NSString *)text 236 if (fromToken == nil) 238 fromToken = [self createToken:fromToken]; 239 [fromToken setType:tokenType]; 240 [fromToken setText:text]; [all …]
|
D | ANTLRTreeAdaptor.m | 75 - (id<ANTLRBaseTree>) createTree:(NSInteger)tokenType fromToken:(id<ANTLRToken>)fromToken 77 id<ANTLRToken> newToken = [self createToken:fromToken]; 91 - (id<ANTLRBaseTree>) createTree:(NSInteger)tokenType fromToken:(id<ANTLRToken>)fromToken text:(NSS… 93 id<ANTLRToken> newToken = [self createToken:fromToken]; 220 - (void) setBoundariesForTree:(id<ANTLRBaseTree>)aTree fromToken:(id<ANTLRToken>)startToken toToken…
|
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRCommonTree.h | 53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 55 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken Text:(NSString *)tokenText;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRCommonTree.h | 53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 55 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken Text:(NSString *)tokenText;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRCommonTree.h | 53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 55 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken Text:(NSString *)tokenText;
|
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTreeAdaptor.java | 142 public Object create(int tokenType, Token fromToken) { in create() argument 143 Object node = adaptor.create(tokenType, fromToken); in create() 148 public Object create(int tokenType, Token fromToken, String text) { in create() argument 149 Object node = adaptor.create(tokenType, fromToken, text); in create()
|
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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
|