Home
last modified time | relevance | path

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

12

/external/antlr/runtime/ObjC/Framework/
DRecognizerSharedState.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;
DLexerState.m48 tokenStartCharIndex = -1;
118 return tokenStartCharIndex;
123 tokenStartCharIndex = theTokenStartCharIndex;
DRecognizerSharedState.h44 NSInteger tokenStartCharIndex; variable
65 …perty (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex;
DLexer.m91 state.tokenStartCharIndex = -1;
120 state.tokenStartCharIndex = input.index;
212 Start:state.tokenStartCharIndex
314 …rn [input substringWithRange:NSMakeRange(state.tokenStartCharIndex, input.index-state.tokenStartCh…
DBaseRecognizer.m115 state.tokenStartCharIndex = -1;
136 state.tokenStartCharIndex = -1;
159 state.tokenStartCharIndex = -1;
191 state.tokenStartCharIndex = -1;
/external/antlr/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()
250 …IToken t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex… in Emit()
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/
DRecognizerSharedState.java102 public int tokenStartCharIndex = -1; field in RecognizerSharedState
140 this.tokenStartCharIndex = state.tokenStartCharIndex; in RecognizerSharedState()
DLexer.java64 state.tokenStartCharIndex = -1; in reset()
77 state.tokenStartCharIndex = input.index(); in nextToken()
169 …Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharInde… in emit()
252 return input.substring(state.tokenStartCharIndex,getCharIndex()-1); in getText()
/external/antlr/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/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/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()
660 token->start = lexer->rec->state->tokenStartCharIndex; in emit()
888 lexer->rec->state->tokenStartCharIndex, in getText()
/external/antlr/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/runtime/Python3/antlr3/
Drecognizers.py105 self.tokenStartCharIndex = -1
1054 self._state.tokenStartCharIndex = -1
1078 self._state.tokenStartCharIndex = self.input.index()
1152 start=self._state.tokenStartCharIndex,
1228 self._state.tokenStartCharIndex,
/external/antlr/runtime/C/include/
Dantlr3recognizersharedstate.h177 ANTLR3_MARKER tokenStartCharIndex; member
/external/antlr/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/runtime/Cpp/include/
Dantlr3recognizersharedstate.hpp250 void set_tokenStartCharIndex( ANTLR_MARKER tokenStartCharIndex );
Dantlr3recognizersharedstate.inl234 …zerSharedState<ImplTraits, StreamType>::set_tokenStartCharIndex( ANTLR_MARKER tokenStartCharIndex ) argument
236 m_tokenStartCharIndex = tokenStartCharIndex;
/external/antlr/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/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg141 tokenStartCharIndex = input.index();
1337 lexerRulePropertyRef_start(scope,attr) ::= "tokenStartCharIndex"
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg410 state.tokenStartCharIndex = input.index;
2097 lexerRuleSetPropertyRef_start(scope,attr,expr) ::= "state.tokenStartCharIndex"
2107 lexerRulePropertyRef_start(scope,attr) ::= "state.tokenStartCharIndex"

12