/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Strip.java | 100 tokens.delete(a.token.getTokenIndex()); in rewrite() 101 killTrailingNewline(tokens, a.token.getTokenIndex()); in rewrite() 109 tokens.delete(a.token.getTokenIndex(), in rewrite() 110 ret.token.getTokenIndex()); in rewrite() 117 tokens.replace(a.token.getTokenIndex(), "/*"+a.getText()+"*/"); in rewrite() 156 tokens.delete(a.token.getTokenIndex()); // kill "id=" in rewrite() 157 tokens.delete(child.token.getTokenIndex()); in rewrite() 166 tokens.delete(a.token.getTokenIndex()); // kill "id+=" in rewrite() 167 tokens.delete(child.token.getTokenIndex()); in rewrite() 183 tokens.delete(a.token.getTokenIndex(), stop); in rewrite() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | CommonErrorNode.java | 44 (stop.getTokenIndex() < start.getTokenIndex() && in CommonErrorNode() 70 int i = ((Token)start).getTokenIndex(); in getText() 71 int j = ((Token)stop).getTokenIndex(); in getText()
|
D | CommonTree.java | 114 return token.getTokenIndex(); in getTokenStartIndex() 125 return token.getTokenIndex(); in getTokenStopIndex() 141 startIndex = stopIndex = token.getTokenIndex(); in setUnknownTokenBoundaries()
|
D | CommonTreeAdaptor.java | 98 if ( startToken!=null ) start = startToken.getTokenIndex(); in setTokenBoundaries() 99 if ( stopToken!=null ) stop = stopToken.getTokenIndex(); in setTokenBoundaries()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | CommonErrorNode.js | 3 (stop.getTokenIndex() < start.getTokenIndex() && 30 var i = this.start.getTokenIndex(); 31 var j = this.stop.getTokenIndex();
|
D | CommonTreeAdaptor.js | 76 if (startToken.getTokenIndex) { 77 start = startToken.getTokenIndex(); 85 if (stop.getTokenIndex) { 86 stop = stopToken.getTokenIndex();
|
D | CommonTree.js | 83 return this.token.getTokenIndex(); 94 return this.token.getTokenIndex();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | CommonToken.java | 76 index = oldToken.getTokenIndex(); in CommonToken() 159 public int getTokenIndex() { in getTokenIndex() method in CommonToken 189 …return "[@"+getTokenIndex()+","+start+":"+stop+"='"+txt+"',<"+type+">"+channelStr+","+line+":"+get… in toString()
|
D | ClassicToken.java | 110 public int getTokenIndex() { in getTokenIndex() method in ClassicToken 139 …return "[@"+getTokenIndex()+",'"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine(… in toString()
|
D | Token.java | 83 public int getTokenIndex(); in getTokenIndex() method
|
D | BufferedTokenStream.java | 255 return toString(start.getTokenIndex(), stop.getTokenIndex()); in toString()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | CommonToken.js | 16 this.index = oldToken.getTokenIndex(); 108 getTokenIndex: function() { method 138 …return "[@"+this.getTokenIndex()+","+this.start+":"+this.stop+"='"+txt+"',<"+this.type+">"+channel…
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTokenRewriteStream.m | 281 [self insertAfterProgNam:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText]; 306 [self insertBeforeProgName:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText]; 335 …laceProgNam:DEFAULT_PROGRAM_NAME FromIndex:[anIndexT getTokenIndex] ToIndex:[anIndexT getTokenInde… 340 …elf replaceProgNam:DEFAULT_PROGRAM_NAME FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex] … 345 …[self replaceProgNam:programName FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex] Text:th… 371 …self delete:DEFAULT_PROGRAM_NAME FromIndex:[anIndexT getTokenIndex] ToIndex:[anIndexT getTokenInde… 376 [self delete:DEFAULT_PROGRAM_NAME FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex]]; 381 …[self replaceProgNam:programName FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex] Text:ni…
|
D | ANTLRCommonErrorNode.m | 64 ([aStopToken getTokenIndex] < [aStartToken getTokenIndex] && 111 int i = [(id<ANTLRToken>)startToken getTokenIndex]; 112 int j = [(id<ANTLRToken>)stopToken getTokenIndex];
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | Profiler.java | 247 int lastTokenIndex = lastRealTokenTouchedInDecision.getTokenIndex(); in exitDecision() 265 lastRealTokenTouchedInDecision.getTokenIndex() < token.getTokenIndex() ) in consumeToken() 271 int thisRefIndex = token.getTokenIndex(); in consumeToken() 296 …if (dump) System.out.println("LT("+i+")="+t+" index "+t.getTokenIndex()+" relative to "+d.decision… in LT() 299 lastRealTokenTouchedInDecision.getTokenIndex() < t.getTokenIndex() ) in LT()
|
D | DebugTreeAdaptor.java | 57 if ( payload.getTokenIndex() < 0 ) { in create() 184 t, startToken.getTokenIndex(), in setTokenBoundaries() 185 stopToken.getTokenIndex()); in setTokenBoundaries()
|
D | RemoteDebugEventSocketListener.java | 107 public int getTokenIndex() { in getTokenIndex() method in RemoteDebugEventSocketListener.ProxyToken 286 if ( t.getTokenIndex() == previousTokenIndex ) { in dispatch() 289 previousTokenIndex = t.getTokenIndex(); in dispatch() 294 if ( t.getTokenIndex() == previousTokenIndex ) { in dispatch() 297 previousTokenIndex = t.getTokenIndex(); in dispatch()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3commontoken.c | 51 static ANTLR3_MARKER getTokenIndex (pANTLR3_COMMON_TOKEN token); 340 token->getTokenIndex = getTokenIndex; in antlr3SetTokenAPI() 504 static ANTLR3_MARKER getTokenIndex (pANTLR3_COMMON_TOKEN token) in getTokenIndex() function 560 outtext->addi (outtext, (ANTLR3_INT32)token->getTokenIndex(token)); in toString()
|
D | antlr3commontreeadaptor.c | 355 newToken->setTokenIndex (newToken, fromToken->getTokenIndex(fromToken)); in createTokenFromToken() 386 start = startToken->getTokenIndex(startToken); in setTokenBoundaries() 395 stop = stopToken->getTokenIndex(stopToken); in setTokenBoundaries() 415 …tTokenBoundaries(adaptor->debugger, t, startToken->getTokenIndex(startToken), stopToken->getTokenI… in dbgSetTokenBoundaries()
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | tokens.py | 123 def getTokenIndex(self): member in Token 273 def getTokenIndex(self): member in CommonToken 378 def getTokenIndex(self): member in ClassicToken
|
D | debug.py | 221 if payload.getTokenIndex() < 0: 333 t, startToken.getTokenIndex(), 334 stopToken.getTokenIndex()) 802 token.getTokenIndex())) 1083 token.getTokenIndex())) 1121 buf = [str(int(t.getTokenIndex())),
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRCommonToken.h | 55 @property (assign, getter=getTokenIndex, setter=setTokenIndex:) NSUInteger index; 96 - (NSUInteger) getTokenIndex;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRCommonToken.h | 55 @property (assign, getter=getTokenIndex, setter=setTokenIndex:) NSUInteger index; 96 - (NSUInteger) getTokenIndex;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRCommonToken.h | 55 @property (assign, getter=getTokenIndex, setter=setTokenIndex:) NSUInteger index; 96 - (NSUInteger) getTokenIndex;
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
D | rhino-python.extensions | 135 var hiddenTokens = this.stream.getTokens(this.lastTokenAddedIndex+1,t.getTokenIndex()-1); 139 this.lastTokenAddedIndex = t.getTokenIndex(); 145 var hiddenTokens = this.stream.getTokens(this.lastTokenAddedIndex+1,t.getTokenIndex()-1); 149 this.lastTokenAddedIndex = t.getTokenIndex(); 156 hiddenTokens = this.stream.getTokens(this.lastTokenAddedIndex+1,t.getTokenIndex()-1); 160 this.lastTokenAddedIndex = t.getTokenIndex();
|