Home
last modified time | relevance | path

Searched refs:CharIndex (Results 1 – 10 of 10) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DLexer.cs66 … return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex);
200 …en t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1); in Emit()
259 public virtual int CharIndex { property in Antlr.Runtime.Lexer
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DLexer.cs74 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
242 … t = new CommonToken( input, state.type, state.channel, state.tokenStartCharIndex, CharIndex - 1 ); in Emit()
312 public virtual int CharIndex property in Antlr.Runtime.Lexer
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs70 … return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex );
329 public int CharIndex property in Antlr.Runtime.SlimLexer
/external/pdfium/core/include/fpdftext/
Dfpdf_text.h93 virtual int TextIndexFromCharIndex(int CharIndex) const = 0;
/external/pdfium/core/src/fpdftext/
Dtext_int.h62 int TextIndexFromCharIndex(int CharIndex) const override;
Dfpdf_text_int.cpp217 int CPDF_TextPage::TextIndexFromCharIndex(int CharIndex) const { in TextIndexFromCharIndex()
222 if (m_CharIndex.GetAt(i + 1) + m_CharIndex.GetAt(i) > CharIndex) { in TextIndexFromCharIndex()
223 if (CharIndex - m_CharIndex.GetAt(i) < 0) { in TextIndexFromCharIndex()
226 return CharIndex - m_CharIndex.GetAt(i) + count - in TextIndexFromCharIndex()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg998 int <label>Start = CharIndex;<\n>
1002 <label> = new <labelType>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start, CharIndex
1062 int <label>Start<elementIndex> = CharIndex;<\n>
1066 …pe>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1083 int <label>Start<elementIndex> = CharIndex;<\n>
1087 … = new <labelType>(input, EOF, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1679 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg1113 Locals.AsInteger['<label>Start'] := CharIndex;
1115 … TToken.INVALID_TOKEN_TYPE, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<label>Start'], CharIndex-1);
1177 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1180 Locals.AsInteger['<label>Start<elementIndex>'], CharIndex - 1);
1195 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1197 …e(Input, EOF, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<label>Start<elementIndex>'], CharIndex-1);
1760 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg978 int <label>Start = CharIndex;<\n>
982 <label> = new <labelType>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start, CharIndex
1042 int <label>Start<elementIndex> = CharIndex;<\n>
1046 …pe>(input, TokenTypes.Invalid, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1063 int <label>Start<elementIndex> = CharIndex;<\n>
1067 … = new <labelType>(input, EOF, TokenChannels.Default, <label>Start<elementIndex>, CharIndex-1);<\n>
1663 lexerRulePropertyRef_stop(scope,attr) ::= "(CharIndex-1)"
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1120 property CharIndex: Integer read GetCharIndex; property
2473 property CharIndex: Integer read GetCharIndex; property