Home
last modified time | relevance | path

Searched refs:startToken (Results 1 – 25 of 84) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.js69 setTokenBoundaries: function(t, startToken, stopToken) { argument
75 if ( org.antlr.lang.isValue(startToken) ) {
76 if (startToken.getTokenIndex) {
77 start = startToken.getTokenIndex();
78 } else if (startToken.getStartIndex) {
79 start = startToken.getStartIndex();
81 start = startToken.getTokenStartIndex();
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonErrorNode.h41 id<ANTLRToken> startToken; variable
47 From:(id<ANTLRToken>)startToken
52 From:(id<ANTLRToken>)startToken
64 @property (retain) id<ANTLRToken> startToken;
DANTLRCommonErrorNode.m75 startToken = aStartToken;
76 if ( startToken ) [startToken retain];
91 if ( startToken ) [startToken release];
110 if ( [startToken isKindOfClass:[self class]] ) {
111 int i = [(id<ANTLRToken>)startToken getTokenIndex];
118 else if ( [startToken isKindOfClass:[self class]] ) {
119 badText = [(id<ANTLRTreeNodeStream>)input toStringFromNode:startToken ToNode:stopToken];
156 @synthesize startToken;
DANTLRDebugTreeAdaptor.m201 - (void) setBoundariesForTree:(id<ANTLRBaseTree>)aTree fromToken:(id<ANTLRToken>)startToken toToken…
203 [treeAdaptor setBoundariesForTree:aTree fromToken:startToken toToken:stopToken];
204 if (aTree && startToken && stopToken) {
205 …[debugListener setTokenBoundariesForTree:[aTree hash] From:[startToken getTokenIndex] To:[stopToke…
DANTLRTokenStream.h59 - (NSString *) toStringFromToken:(id<ANTLRToken>)startToken ToToken:(id<ANTLRToken>)stopToken;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3commontreeadaptor.c64 …_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
67 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
68 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
239 …_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in errorNode() argument
372 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in setTokenBoundaries() argument
384 if ( startToken != NULL) in setTokenBoundaries()
386 start = startToken->getTokenIndex(startToken); in setTokenBoundaries()
409 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in dbgSetTokenBoundaries() argument
411 setTokenBoundaries(adaptor, t, startToken, stopToken); in dbgSetTokenBoundaries()
413 if (t != NULL && startToken != NULL && stopToken != NULL) in dbgSetTokenBoundaries()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRCommonErrorNode.h41 id<ANTLRToken> startToken; variable
47 From:(id<ANTLRToken>)startToken
52 From:(id<ANTLRToken>)startToken
DANTLRParserRuleReturnScope.h32 id<ANTLRToken> startToken; variable
35 @property (retain, getter=getStart, setter=setStart:) id<ANTLRToken> startToken;
DANTLRLexerRuleReturnScope.h30 int startToken; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRCommonErrorNode.h41 id<ANTLRToken> startToken; variable
47 From:(id<ANTLRToken>)startToken
52 From:(id<ANTLRToken>)startToken
DANTLRParserRuleReturnScope.h32 id<ANTLRToken> startToken; variable
35 @property (retain, getter=getStart, setter=setStart:) id<ANTLRToken> startToken;
DANTLRLexerRuleReturnScope.h30 int startToken; variable
DANTLRTokenStream.h59 - (NSString *) toStringFromToken:(id<ANTLRToken>)startToken ToToken:(id<ANTLRToken>)stopToken;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRCommonErrorNode.h41 id<ANTLRToken> startToken; variable
47 From:(id<ANTLRToken>)startToken
52 From:(id<ANTLRToken>)startToken
DANTLRParserRuleReturnScope.h32 id<ANTLRToken> startToken; variable
35 @property (retain, getter=getStart, setter=setStart:) id<ANTLRToken> startToken;
DANTLRLexerRuleReturnScope.h30 int startToken; variable
DANTLRTokenStream.h59 - (NSString *) toStringFromToken:(id<ANTLRToken>)startToken ToToken:(id<ANTLRToken>)stopToken;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTreeAdaptor.cs116 public override void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) { in SetTokenBoundaries() argument
123 if (startToken != null) in SetTokenBoundaries()
124 start = startToken.TokenIndex; in SetTokenBoundaries()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTreeAdaptor.java94 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
98 if ( startToken!=null ) start = startToken.getTokenIndex(); in setTokenBoundaries()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeAdaptor.cs184 public virtual void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) { in SetTokenBoundaries() argument
185 adaptor.SetTokenBoundaries(t, startToken, stopToken); in SetTokenBoundaries()
186 if (t != null && startToken != null && stopToken != null) { in SetTokenBoundaries()
188 t, startToken.TokenIndex, in SetTokenBoundaries()
/external/clang/lib/Parse/
DParsePragma.cpp234 Toks[0].startToken(); in HandlePragma()
262 Alignment.startToken(); in HandlePragma()
353 Toks[0].startToken(); in HandlePragma()
396 Toks[0].startToken(); in HandlePragma()
465 Toks[0].startToken(); in ParseAlignPragma()
558 pragmaUnusedTok.startToken(); in HandlePragma()
608 pragmaUnusedTok.startToken(); in HandlePragma()
620 pragmaUnusedTok.startToken(); in HandlePragma()
665 pragmaRedefTok.startToken(); in HandlePragma()
687 Toks[0].startToken(); in HandlePragma()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTreeAdaptor.cs239 public virtual void SetTokenBoundaries( object t, IToken startToken, IToken stopToken ) in SetTokenBoundaries() argument
241 adaptor.SetTokenBoundaries( t, startToken, stopToken ); in SetTokenBoundaries()
242 if ( t != null && startToken != null && stopToken != null ) in SetTokenBoundaries()
245 t, startToken.TokenIndex, in SetTokenBoundaries()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java180 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
181 adaptor.setTokenBoundaries(t, startToken, stopToken); in setTokenBoundaries()
182 if ( t!=null && startToken!=null && stopToken!=null ) { in setTokenBoundaries()
184 t, startToken.getTokenIndex(), in setTokenBoundaries()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3basetreeadaptor.h84 …_struct * adaptor, pANTLR3_TOKEN_STREAM tnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
123 …LR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs423 public virtual void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) in SetTokenBoundaries() argument
432 if (startToken != null) in SetTokenBoundaries()
433 start = startToken.TokenIndex; in SetTokenBoundaries()

1234