Home
last modified time | relevance | path

Searched refs:tokenStartCharIndex (Results 1 – 25 of 35) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DRecognizerSharedState.cs130 public int tokenStartCharIndex; field in Antlr.Runtime.RecognizerSharedState
156 tokenStartCharIndex = -1; in RecognizerSharedState()
175 tokenStartCharIndex = state.tokenStartCharIndex; in RecognizerSharedState()
DLexer.cs66 … return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex);
103 state.tokenStartCharIndex = -1; in Reset()
114 state.tokenStartCharIndex = input.Index; in NextToken()
200 …IToken t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, CharIndex … in Emit()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DRecognizerSharedState.cs132 public int tokenStartCharIndex; field in Antlr.Runtime.RecognizerSharedState
159 tokenStartCharIndex = -1; in RecognizerSharedState()
179 tokenStartCharIndex = state.tokenStartCharIndex; in RecognizerSharedState()
DLexer.cs74 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
121 state.tokenStartCharIndex = -1; in Reset()
134 state.tokenStartCharIndex = input.Index; in NextToken()
242 …IToken t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex… in Emit()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRecognizerSharedState.m48 @synthesize tokenStartCharIndex;
77 tokenStartCharIndex = -1;
87 tokenStartCharIndex = state.tokenStartCharIndex;
108 tokenStartCharIndex = -1;
117 tokenStartCharIndex = state.tokenStartCharIndex;
161 tokenStartCharIndex = aState.tokenStartCharIndex;
230 return tokenStartCharIndex;
235 tokenStartCharIndex = theTokenStartCharIndex;
DANTLRLexerState.m48 tokenStartCharIndex = -1;
118 return tokenStartCharIndex;
123 tokenStartCharIndex = theTokenStartCharIndex;
DANTLRRecognizerSharedState.h44 NSInteger tokenStartCharIndex; variable
65 …perty (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex;
DANTLRLexer.m91 state.tokenStartCharIndex = -1;
120 state.tokenStartCharIndex = input.index;
207 Start:state.tokenStartCharIndex
309 …rn [input substringWithRange:NSMakeRange(state.tokenStartCharIndex, input.index-state.tokenStartCh…
DANTLRBaseRecognizer.m113 state.tokenStartCharIndex = -1;
134 state.tokenStartCharIndex = -1;
157 state.tokenStartCharIndex = -1;
189 state.tokenStartCharIndex = -1;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DRecognizerSharedState.java101 public int tokenStartCharIndex = -1; field in RecognizerSharedState
138 this.tokenStartCharIndex = state.tokenStartCharIndex; in RecognizerSharedState()
DLexer.java63 state.tokenStartCharIndex = -1; in reset()
76 state.tokenStartCharIndex = input.index(); in nextToken()
160 …Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharInde… in emit()
243 return input.substring(state.tokenStartCharIndex,getCharIndex()-1); in getText()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs70 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
120 state.tokenStartCharIndex = -1; in Reset()
138 state.tokenStartCharIndex = input.Index; in NextToken()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DLexer.js28 this.state.tokenStartCharIndex = -1;
41 this.state.tokenStartCharIndex = this.input.index();
112 …nToken(this.input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.getCh…
195 return this.input.substring(this.state.tokenStartCharIndex,this.getCharIndex()-1);
DRecognizerSharedState.js72 this.tokenStartCharIndex = -1;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3lexer.c184 lexer->rec->state->tokenStartCharIndex = -1; in reset()
247 … state->tokenStartCharIndex = (ANTLR3_MARKER)(((pANTLR3_UINT8)input->nextChar)); in nextTokenStr()
478 …ta)+(lexer->input->size(lexer->input))) - (pANTLR3_UINT8)(lexer->rec->state->tokenStartCharIndex)); in displayRecognitionError()
482 …s:\n\t\t%.*s\n", width > 20 ? 20 : width ,(pANTLR3_UINT8)(lexer->rec->state->tokenStartCharIndex)); in displayRecognitionError()
542 lexer->rec->state->tokenStartCharIndex = -1; in setCharStream()
659 token->start = lexer->rec->state->tokenStartCharIndex; in emit()
887 lexer->rec->state->tokenStartCharIndex, in getText()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 …perty (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 …perty (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 …perty (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex;
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3recognizersharedstate.h177 ANTLR3_MARKER tokenStartCharIndex; member
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Drecognizers.py107 self.tokenStartCharIndex = -1
1079 self._state.tokenStartCharIndex = -1
1103 self._state.tokenStartCharIndex = self.input.index()
1177 start=self._state.tokenStartCharIndex,
1253 self._state.tokenStartCharIndex,
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DLexer.as56 state.tokenStartCharIndex = -1;
69 state.tokenStartCharIndex = input.index;
146 …mmonToken.createFromStream(input, state.type, state.channel, state.tokenStartCharIndex, charIndex …
228 return input.substring(state.tokenStartCharIndex, charIndex-1);
DRecognizerSharedState.as73 public var tokenStartCharIndex:int = -1; variable in org.antlr.runtime.RecognizerSharedState
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg141 tokenStartCharIndex = input.index();
1337 lexerRulePropertyRef_start(scope,attr) ::= "tokenStartCharIndex"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg96 this.state.tokenStartCharIndex = this.input.index();
1299 lexerRulePropertyRef_start(scope,attr) ::= "this.state.tokenStartCharIndex"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg121 this.state.tokenStartCharIndex = input.index;
1257 lexerRulePropertyRef_start(scope,attr) ::= "state.tokenStartCharIndex"

12