Home
last modified time | relevance | path

Searched refs:thisRefIndex (Results 1 – 3 of 3) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs220 int thisRefIndex = token.TokenIndex; in ConsumeToken()
221 int numHidden = GetNumberOfHiddenTokens(d.startIndex, thisRefIndex); in ConsumeToken()
222 … int depth = thisRefIndex - d.startIndex - numHidden + 1; // +1 counts consuming start token as 1 in ConsumeToken()
225 Console.WriteLine("consume " + thisRefIndex + " " + depth + " tokens ahead in " + in ConsumeToken()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs238 int thisRefIndex = token.TokenIndex; in ConsumeToken()
239 int numHidden = GetNumberOfHiddenTokens(d.startIndex, thisRefIndex); in ConsumeToken()
240 … int depth = thisRefIndex - d.startIndex - numHidden + 1; // +1 counts consuming start token as 1 in ConsumeToken()
244 Console.WriteLine("consume " + thisRefIndex + " " + depth + " tokens ahead in " + in ConsumeToken()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java276 int thisRefIndex = token.getTokenIndex(); in consumeToken() local
277 int numHidden = getNumberOfHiddenTokens(d.startIndex, thisRefIndex); in consumeToken()
278 int depth = thisRefIndex - d.startIndex - numHidden + 1; // +1 counts consuming start token as 1 in consumeToken()
280 if (dump) System.out.println("consume "+thisRefIndex+" "+depth+" tokens ahead in "+ in consumeToken()