Searched refs:tokenStartCharIndex (Results 1 - 25 of 31) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DRecognizerSharedState.js72 this.tokenStartCharIndex = -1;
H A DLexer.js28 this.state.tokenStartCharIndex = -1;
41 this.state.tokenStartCharIndex = this.input.index();
112 var t = new org.antlr.runtime.CommonToken(this.input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.getCharIndex()-1);
195 return this.input.substring(this.state.tokenStartCharIndex,this.getCharIndex()-1);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DRecognizerSharedState.cs130 public int tokenStartCharIndex; field in class:Antlr.Runtime.RecognizerSharedState
156 tokenStartCharIndex = -1;
175 tokenStartCharIndex = state.tokenStartCharIndex;
H A DLexer.cs66 return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex);
103 state.tokenStartCharIndex = -1;
114 state.tokenStartCharIndex = input.Index;
200 IToken t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DRecognizerSharedState.cs132 public int tokenStartCharIndex; field in class:Antlr.Runtime.RecognizerSharedState
159 tokenStartCharIndex = -1;
179 tokenStartCharIndex = state.tokenStartCharIndex;
H A DLexer.cs74 return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
121 state.tokenStartCharIndex = -1;
134 state.tokenStartCharIndex = input.Index;
242 IToken t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1 );
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DRecognizerSharedState.java101 public int tokenStartCharIndex = -1; field in class:RecognizerSharedState
138 this.tokenStartCharIndex = state.tokenStartCharIndex;
H A DLexer.java63 state.tokenStartCharIndex = -1;
76 state.tokenStartCharIndex = input.index();
160 Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1);
243 return input.substring(state.tokenStartCharIndex,getCharIndex()-1);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3recognizersharedstate.h177 ANTLR3_MARKER tokenStartCharIndex; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DLexer.as56 state.tokenStartCharIndex = -1;
69 state.tokenStartCharIndex = input.index;
146 var t:Token = CommonToken.createFromStream(input, state.type, state.channel, state.tokenStartCharIndex, charIndex - 1);
228 return input.substring(state.tokenStartCharIndex, charIndex-1);
H A DRecognizerSharedState.as73 public var tokenStartCharIndex:int = -1; variable
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
H A DSlimLexer.cs70 return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
120 state.tokenStartCharIndex = -1;
138 state.tokenStartCharIndex = input.Index;
258 //IToken t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1 );
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 @property (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 @property (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRRecognizerSharedState.h43 NSInteger tokenStartCharIndex; variable
64 @property (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRRecognizerSharedState.h44 NSInteger tokenStartCharIndex; variable
65 @property (getter=getTokenStartCharIndex,setter=setTokenStartCharIndex:) NSInteger tokenStartCharIndex; variable
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3lexer.c184 lexer->rec->state->tokenStartCharIndex = -1;
247 state->tokenStartCharIndex = (ANTLR3_MARKER)(((pANTLR3_UINT8)input->nextChar));
478 width = ANTLR3_UINT32_CAST(((pANTLR3_UINT8)(lexer->input->data)+(lexer->input->size(lexer->input))) - (pANTLR3_UINT8)(lexer->rec->state->tokenStartCharIndex));
482 ANTLR3_FPRINTF(stderr, "looks like this:\n\t\t%.*s\n", width > 20 ? 20 : width ,(pANTLR3_UINT8)(lexer->rec->state->tokenStartCharIndex));
542 lexer->rec->state->tokenStartCharIndex = -1;
659 token->start = lexer->rec->state->tokenStartCharIndex;
887 lexer->rec->state->tokenStartCharIndex,
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A 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/ObjC/Framework/examples/fuzzy/
H A DFuzzy.m91 state.tokenStartCharIndex = input.index;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/output1/
H A DFuzzy.m361 state.tokenStartCharIndex = [input getIndex];
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DActionScript.stg121 this.state.tokenStartCharIndex = input.index;
1257 lexerRulePropertyRef_start(scope,attr) ::= "state.tokenStartCharIndex"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
H A DCPP.stg227 tokenStartCharIndex = getCharIndex();
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DJava.stg153 state.tokenStartCharIndex = input.index();
1369 lexerRulePropertyRef_start(scope,attr) ::= "state.tokenStartCharIndex"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DPerl5.stg141 tokenStartCharIndex = input.index();
1337 lexerRulePropertyRef_start(scope,attr) ::= "tokenStartCharIndex"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DPython.stg171 self._state.tokenStartCharIndex = self.input.index()
1434 lexerRulePropertyRef_start(scope,attr) ::= "self._state.tokenStartCharIndex"

Completed in 9302 milliseconds

12