Home
last modified time | relevance | path

Searched refs:CharPositionInLine (Results 1 – 25 of 40) sorted by relevance

12

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DANTLRxxxxStreamFixture.cs141 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
146 Assert.AreEqual(1, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
151 Assert.AreEqual(2, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
156 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
161 Assert.AreEqual(4, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
166 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
171 Assert.AreEqual(1, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
176 Assert.AreEqual(2, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
181 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
186 Assert.AreEqual(3, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream()
[all …]
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tests.pas51 CheckEquals(0, Stream.CharPositionInLine);
56 CheckEquals(1, Stream.CharPositionInLine);
61 CheckEquals(2, Stream.CharPositionInLine);
66 CheckEquals(3, Stream.CharPositionInLine);
71 CheckEquals(4, Stream.CharPositionInLine);
76 CheckEquals(0, Stream.CharPositionInLine);
81 CheckEquals(1, Stream.CharPositionInLine);
86 CheckEquals(2, Stream.CharPositionInLine);
91 CheckEquals(3, Stream.CharPositionInLine);
96 CheckEquals(3, Stream.CharPositionInLine);
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DLexer.cs81 public int CharPositionInLine { property in Antlr.Runtime.Lexer
83 return input.CharPositionInLine;
86 input.CharPositionInLine = value;
115 state.tokenStartCharPositionInLine = input.CharPositionInLine; in NextToken()
121 eof.CharPositionInLine = CharPositionInLine; in NextToken()
203 t.CharPositionInLine = state.tokenStartCharPositionInLine; in Emit()
345 string inputSymbol = ((char)input.LT(1)) + " line=" + Line + ":" + CharPositionInLine; in TraceIn()
351 string inputSymbol = ((char)input.LT(1)) + " line=" + Line + ":" + CharPositionInLine; in TraceOut()
DRecognitionException.cs151 this._charPositionInLine = _token.CharPositionInLine; in RecognitionException()
158 this._charPositionInLine = ((ICharStream)input).CharPositionInLine; in RecognitionException()
257 public int CharPositionInLine { property in Antlr.Runtime.RecognitionException
286 this._charPositionInLine = lastRealToken.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
305 this._charPositionInLine = priorPayload.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
314 this._charPositionInLine = payload.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
318 this._charPositionInLine = ((Tree.ITree)this._node).CharPositionInLine; in ExtractInformationFromTreeNodeStream()
DClassicToken.cs62 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
105 public int CharPositionInLine { property in Antlr.Runtime.ClassicToken
171 …Index + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]"; in ToString()
DCommonToken.cs90 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
142 public int CharPositionInLine { property in Antlr.Runtime.CommonToken
211 … stop + "='" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]"; in ToString()
DParser.cs82 t.CharPositionInLine = current.CharPositionInLine; in GetMissingSymbol()
DICharStream.cs63 int CharPositionInLine { property
DIToken.cs54 int CharPositionInLine { property
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DLexer.cs93 public int CharPositionInLine property in Antlr.Runtime.Lexer
97 return input.CharPositionInLine;
101 input.CharPositionInLine = value;
135 state.tokenStartCharPositionInLine = input.CharPositionInLine; in NextToken()
180 eof.CharPositionInLine = CharPositionInLine; in GetEndOfFileToken()
253 t.CharPositionInLine = state.tokenStartCharPositionInLine; in Emit()
427 … string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; in TraceIn()
434 … string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; in TraceOut()
DRecognitionException.cs182 this._charPositionInLine = _token.CharPositionInLine; in RecognitionException()
203 this._charPositionInLine = ((ICharStream)input).CharPositionInLine; in RecognitionException()
344 public int CharPositionInLine property in Antlr.Runtime.RecognitionException
394 this._charPositionInLine = lastRealToken.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
417 this._charPositionInLine = priorPayload.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
437 this._charPositionInLine = payload.CharPositionInLine; in ExtractInformationFromTreeNodeStream()
443 this._charPositionInLine = ((Tree.ITree)this._node).CharPositionInLine; in ExtractInformationFromTreeNodeStream()
DClassicToken.cs66 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
120 public int CharPositionInLine property in Antlr.Runtime.ClassicToken
209 …Index + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]"; in ToString()
DCommonToken.cs97 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
158 public int CharPositionInLine property in Antlr.Runtime.CommonToken
250 … stop + "='" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]"; in ToString()
DParser.cs90 t.CharPositionInLine = current.CharPositionInLine; in GetMissingSymbol()
DANTLRStringStream.cs142 public virtual int CharPositionInLine property in Antlr.Runtime.ANTLRStringStream
246 state.charPositionInLine = CharPositionInLine; in Mark()
DICharStream.cs66 int CharPositionInLine property
DIToken.cs59 int CharPositionInLine property
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTree.cs87 public override int CharPositionInLine property in Antlr.Runtime.Tree.CommonTree
91 if ( Token == null || Token.CharPositionInLine == -1 )
94 return Children[0].CharPositionInLine;
98 return Token.CharPositionInLine;
103 base.CharPositionInLine = value;
DITree.cs164 int CharPositionInLine property
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTree.cs83 public override int CharPositionInLine { property in Antlr.Runtime.Tree.CommonTree
85 if (token == null || token.CharPositionInLine == -1) {
87 return Children[0].CharPositionInLine;
91 return token.CharPositionInLine;
94 base.CharPositionInLine = value;
DITree.cs153 int CharPositionInLine { property
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimLexer.cs89 public int CharPositionInLine property in Antlr.Runtime.SlimLexer
93 return input.CharPositionInLine;
97 input.CharPositionInLine = value;
140 state.tokenStartCharPositionInLine = input.CharPositionInLine; in NextToken()
435 … string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; in TraceIn()
441 … string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; in TraceOut()
DSlimStringStream.cs139 public int CharPositionInLine property in Antlr.Runtime.SlimStringStream
161 public int CharPositionInLine property in Antlr.Runtime.SlimStringStream
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugEventSocketProxy.cs230 buf.Append(e.CharPositionInLine); in RecognitionException()
283 pos = token.CharPositionInLine; in SerializeNode()
368 buf.Append(t.CharPositionInLine); in SerializeToken()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugEventSocketProxy.cs264 buf.Append( e.CharPositionInLine ); in RecognitionException()
324 pos = token.CharPositionInLine; in SerializeNode()
417 buf.Append( t.CharPositionInLine ); in SerializeToken()

12