Home
last modified time | relevance | path

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

123

/external/antlr/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/runtime/ObjC/Framework/
DCommonErrorNode.m75 startToken = aStartToken;
76 if ( startToken ) [startToken retain];
91 if ( startToken ) [startToken release];
110 if ( [startToken isKindOfClass:[self class]] ) {
111 int i = [(id<Token>)startToken getTokenIndex];
118 else if ( [startToken isKindOfClass:[self class]] ) {
119 badText = [(id<TreeNodeStream>)input toStringFromNode:startToken ToNode:stopToken];
156 @synthesize startToken;
DCommonErrorNode.h41 id<Token> startToken; variable
47 From:(id<Token>)startToken
52 From:(id<Token>)startToken
64 @property (retain) id<Token> startToken;
DDebugTreeAdaptor.m201 - (void) setBoundariesForTree:(id<BaseTree>)aTree fromToken:(id<Token>)startToken toToken:(id<Token…
203 [treeAdaptor setBoundariesForTree:aTree fromToken:startToken toToken:stopToken];
204 if (aTree && startToken && stopToken) {
205 …[debugListener setTokenBoundariesForTree:[aTree hash] From:[startToken getTokenIndex] To:[stopToke…
DTokenStream.h59 - (NSString *) toStringFromToken:(id<Token>)startToken ToToken:(id<Token>)stopToken;
DDebugTokenStream.h60 - (NSString *) toStringFromToken:(CommonToken *)startToken ToToken:(CommonToken *)stopToken;
DCommonTreeAdaptor.m110 - (void) setTokenBoundaries:(id<BaseTree>)aTree From:(id<Token>)startToken To:(id<Token>)stopToken
116 if ( startToken != nil )
117 startTokIdx = [startToken getTokenIndex];
DCommonTokenStream.m347 - (NSString *) toStringFromToken:(id<Token>)startToken ToToken:(id<Token>)stopToken
349 if (startToken && stopToken) {
350 int startIdx = [startToken getTokenIndex];
DDebugTokenStream.m199 - (NSString *) toStringFromToken:(CommonToken *)startToken ToToken:(CommonToken *)stopToken
201 return [input toStringFromStart:startToken.startIndex ToEnd:stopToken.stopIndex];
/external/antlr/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/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()
DITreeAdaptor.cs269 void SetTokenBoundaries(object t, IToken startToken, IToken stopToken); in SetTokenBoundaries() argument
/external/antlr/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/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTreeAdaptor.java99 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
103 if ( startToken!=null ) start = startToken.getTokenIndex(); in setTokenBoundaries()
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java199 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
200 adaptor.setTokenBoundaries(t, startToken, stopToken); in setTokenBoundaries()
201 if ( t!=null && startToken!=null && stopToken!=null ) { in setTokenBoundaries()
203 t, startToken.getTokenIndex(), in setTokenBoundaries()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/expr/
DLambdaExprTest.java23 private void assertRange(String startToken, String endToken, Node node) { in assertRange() argument
25 assertEquals(startToken, tokenRange.getBegin().asString()); in assertRange()
/external/clang/lib/Parse/
DParsePragma.cpp735 Toks[0].startToken(); in HandlePragmaMSInitSeg()
954 Toks[0].startToken(); in HandlePragma()
982 Alignment.startToken(); in HandlePragma()
1068 Toks[0].startToken(); in HandlePragma()
1110 Toks[0].startToken(); in HandlePragma()
1178 Toks[0].startToken(); in ParseAlignPragma()
1271 pragmaUnusedTok.startToken(); in HandlePragma()
1319 pragmaUnusedTok.startToken(); in HandlePragma()
1330 pragmaUnusedTok.startToken(); in HandlePragma()
1374 pragmaRedefTok.startToken(); in HandlePragma()
[all …]
/external/antlr/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/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()
DITreeAdaptor.cs289 void SetTokenBoundaries( object t, IToken startToken, IToken stopToken ); in SetTokenBoundaries() argument
/external/antlr/runtime/Cpp/include/
Dantlr3commontreeadaptor.hpp62 …TreeType* errorNode( CommonTokenType* tnstream, CommonTokenType* startToken, CommonTokenType* sto…
92 void setTokenBoundaries( TreeType* t, CommonTokenType* startToken, CommonTokenType* stopToken);
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.as69 public override function setTokenBoundaries(t:Object, startToken:Token, stopToken:Token):void {
75 if ( startToken!=null ) {
76 start = startToken.tokenIndex;
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarAST.java554 public void setTokenBoundaries(Token startToken, Token stopToken) { in setTokenBoundaries() argument
555 if ( startToken!=null ) startIndex = startToken.getTokenIndex(); in setTokenBoundaries()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp603 PrevToken.startToken(); in HandlePragma()
604 PrevPrevToken.startToken(); in HandlePragma()
636 PrevPrevTok.startToken(); in PrintPreprocessedTokens()
637 PrevTok.startToken(); in PrintPreprocessedTokens()

123