Home
last modified time | relevance | path

Searched refs:TokenIndex (Results 1 – 25 of 27) 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/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()
DIToken.cs79 int TokenIndex { property
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()
DUnbufferedTokenStream.cs80 t.TokenIndex = this.tokenIndex++; in NextElement()
/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()
DDebugEventSocketProxy.cs332 int tokenIndex = token.TokenIndex; in CreateNode()
360 buf.Append(t.TokenIndex); in SerializeToken()
DTraceDebugEventListener.cs98 int tokenIndex = token.TokenIndex; in CreateNode()
/external/libtextclassifier/native/annotator/
Dtypes.h52 using TokenIndex = int; variable
150 TokenSpan(TokenIndex start, TokenIndex end) : first(start), second(end) {} in TokenSpan()
184 TokenIndex first;
185 TokenIndex second;
249 return {0, static_cast<TokenIndex>(tokens.size())}; in AllOf()
Dfeature-processor.cc338 TokenIndex start_token = kInvalidIndex; in CodepointSpanToTokenSpan()
339 TokenIndex end_token = kInvalidIndex; in CodepointSpanToTokenSpan()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DST.stg86 retval.Start.TokenIndex,
87 input.LT(-1).TokenIndex,
DCSharp3.stg1648 tokenLabelPropertyRef_index(scope,attr) ::= "(<scope>!=null?<scope>.TokenIndex:0)"
1683 "(<scope>!=null?<scope>.TokenIndex:0)"
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg109 ((IToken)retval.Start).TokenIndex,
110 input.LT(-1).TokenIndex,
DCSharp2.stg1666 tokenLabelPropertyRef_index(scope,attr) ::= "(<scope>!=null?<scope>.TokenIndex:0)"
1701 "(<scope>!=null?<scope>.TokenIndex:0)"
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DTokenIndex.java8 class TokenIndex extends AnalysisAdapter class
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas2546 Result := FToken.TokenIndex
2554 Result := FToken.TokenIndex
2617 if (AStop = nil) or ((AStop.TokenIndex < AStart.TokenIndex)
2641 I := FStart.TokenIndex;
2645 J := FStop.TokenIndex;
3005 Start := StartToken.TokenIndex
3010 Stop := StopToken.TokenIndex
DAntlr.Runtime.pas265 property TokenIndex: Integer read GetTokenIndex write SetTokenIndex; property
679 property TokenIndex: Integer read GetTokenIndex write SetTokenIndex; property
4026 FIndex := AOldToken.TokenIndex;
4808 T.TokenIndex := Index;
5074 Result := ToString(Start.TokenIndex, Stop.TokenIndex)
5907 InsertAfter(ProgramName, T.TokenIndex, Text);
5957 InsertBefore(ProgramName, T.TokenIndex, Text);
6111 Replace(ProgramName, Start.TokenIndex, Stop.TokenIndex, Text);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg1708 tokenLabelPropertyRef_index(scope,attr) ::= "(Def(<scope>).TokenIndex)"
1734 lexerRuleLabelPropertyRef_index(scope,attr) ::= "(Def(<scope>).TokenIndex)"

12