Home
last modified time | relevance | path

Searched refs:TokenIndex (Results 1 – 25 of 44) sorted by relevance

12

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonErrorNode.cs47 (stop.TokenIndex < start.TokenIndex && in CommonErrorNode()
71 int i = ((IToken)start).TokenIndex;
72 int j = ((IToken)stop).TokenIndex;
DCommonTree.cs153 return token.TokenIndex;
164 return token.TokenIndex;
197 startIndex = stopIndex = token.TokenIndex; in SetUnknownTokenBoundaries()
DCommonTreeAdaptor.cs124 start = startToken.TokenIndex; in SetTokenBoundaries()
127 stop = stopToken.TokenIndex; in SetTokenBoundaries()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonErrorNode.cs50 ( stop.TokenIndex < start.TokenIndex && in CommonErrorNode()
80 int i = ( (IToken)start ).TokenIndex;
81 int j = ( (IToken)stop ).TokenIndex;
DCommonTree.cs195 return Token.TokenIndex;
212 return Token.TokenIndex;
256 startIndex = stopIndex = Token.TokenIndex; in SetUnknownTokenBoundaries()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DCommonToken.cs96 index = oldToken.TokenIndex; in CommonToken()
206 public int TokenIndex property in Antlr.Runtime.CommonToken
250 …return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr… in ToString()
DClassicToken.cs166 public int TokenIndex property in Antlr.Runtime.ClassicToken
209 …return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharP… in ToString()
DBufferedTokenStream.cs229 t.TokenIndex = _tokens.Count; in Fetch()
403 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()
DLegacyCommonTokenStream.cs168 t.TokenIndex = index; in FillBuffer()
521 return ToString( start.TokenIndex, stop.TokenIndex ); in ToString()
DIToken.cs88 int TokenIndex property
DTokenRewriteStream.cs280 InsertAfter( programName, t.TokenIndex, text ); in InsertAfter()
301 InsertBefore( programName, t.TokenIndex, text ); in InsertBefore()
347 from.TokenIndex, in Replace()
348 to.TokenIndex, in Replace()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DCommonToken.cs89 index = oldToken.TokenIndex; in CommonToken()
178 public int TokenIndex { property in Antlr.Runtime.CommonToken
211 …return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr… in ToString()
DClassicToken.cs139 public int TokenIndex { property in Antlr.Runtime.ClassicToken
171 …return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharP… in ToString()
DBufferedTokenStream.cs198 t.TokenIndex = _tokens.Count; in Fetch()
352 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()
DLegacyCommonTokenStream.cs156 t.TokenIndex = index; in FillBuffer()
448 return ToString(start.TokenIndex, stop.TokenIndex); in ToString()
DTokenRewriteStream.cs246 InsertAfter(programName, t.TokenIndex, text); in InsertAfter()
264 InsertBefore(programName, t.TokenIndex, text); in InsertBefore()
303 from.TokenIndex, in Replace()
304 to.TokenIndex, in Replace()
DIToken.cs79 int TokenIndex { property
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs205 int lastTokenIndex = lastRealTokenTouchedInDecision.TokenIndex; in ExitDecision()
232 lastRealTokenTouchedInDecision.TokenIndex < token.TokenIndex) in ConsumeToken()
238 int thisRefIndex = token.TokenIndex; in ConsumeToken()
276 …Console.WriteLine("LT(" + i + ")=" + t + " index " + t.TokenIndex + " relative to " + d.decision.r… in LT()
281 lastRealTokenTouchedInDecision.TokenIndex < t.TokenIndex) in LT()
DRemoteDebugEventSocketListener.cs176 public int TokenIndex property in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyToken
462 if ( t.TokenIndex == previousTokenIndex ) in Dispatch()
466 previousTokenIndex = t.TokenIndex; in Dispatch()
472 if ( t.TokenIndex == previousTokenIndex ) in Dispatch()
476 previousTokenIndex = t.TokenIndex; in Dispatch()
DDebugTreeAdaptor.cs66 if ( payload.TokenIndex < 0 ) in Create()
245 t, startToken.TokenIndex, in SetTokenBoundaries()
246 stopToken.TokenIndex ); in SetTokenBoundaries()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs191 int lastTokenIndex = lastRealTokenTouchedInDecision.TokenIndex; in ExitDecision()
215 lastRealTokenTouchedInDecision.TokenIndex < token.TokenIndex) { in ConsumeToken()
220 int thisRefIndex = token.TokenIndex; in ConsumeToken()
251 …Console.WriteLine("LT(" + i + ")=" + t + " index " + t.TokenIndex + " relative to " + d.decision.r… in LT()
256 lastRealTokenTouchedInDecision.TokenIndex < t.TokenIndex) { in LT()
DDebugTreeAdaptor.cs62 if (payload.TokenIndex < 0) { in Create()
188 t, startToken.TokenIndex, in SetTokenBoundaries()
189 stopToken.TokenIndex); in SetTokenBoundaries()
DRemoteDebugEventSocketListener.cs149 public int TokenIndex { property in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyToken
361 if (t.TokenIndex == previousTokenIndex) { in Dispatch()
364 previousTokenIndex = t.TokenIndex; in Dispatch()
368 if (t.TokenIndex == previousTokenIndex) { in Dispatch()
371 previousTokenIndex = t.TokenIndex; in Dispatch()
/external/libtextclassifier/annotator/
Dtypes.h41 using TokenIndex = int; variable
96 using TokenSpan = std::pair<TokenIndex, TokenIndex>;
Dfeature-processor.h221 int TokenSpanToLabel(const std::pair<TokenIndex, TokenIndex>& span) const;

12