Home | History | Annotate | Download | only in Antlr3.Runtime

Lines Matching refs:Line

68     /// Advances the read position of the stream. Updates line and column state
83 /// The Lexer tracks line/col info as well as input index so its markers are
153 /// as line number. For seeking backwards, you will be presumably
215 /// The current line in the character stream (ANTLR tracks the
216 /// line information automatically. To support rewinding character
217 /// streams, we are able to [re-]set the line.
219 property Line: Integer read GetLine write SetLine;
223 /// line (0..N-1). To support rewinding character streams, we are
248 /// <summary>The line number on which this token was matched; line=1..N</summary>
249 property Line: Integer read GetLine write SetLine;
252 /// The index of the first character relative to the beginning of the line 0..N-1
256 /// <summary>The line number on which this token was matched; line=1..N</summary>
365 /// need to record the state of the input stream (char index, line,
382 /// <summary>What line number is the scanner at before processing buffer[P]? </summary>
383 property Line: Integer read GetLine write SetLine;
385 /// <summary>What char position 0..N-1 in line is scanner before processing buffer[P]? </summary>
610 /// The line on which the first character of the token resides
614 /// <summary>The character position of first character within the line</summary>
676 property Line: Integer read GetLine write SetLine;
784 /// What is the error header, normally line/character position information?
825 /// you want more details such as the file/line info of where
1116 property Line: Integer read GetLine;
1372 /// knows its state (such as current input symbol and line info) that
1375 /// perhaps print an entire line of input not just a single token, for example.
1403 /// <summary>Track the line at which the error occurred in case this is
1405 /// unexpected char doesn't carry the line info.
1421 /// imaginary nodes w/o line/col info. We now search backwards looking
1422 /// for most recent token with line/col info, but notify getErrorHeader()
1439 /// Returns the line at which the error occurred (for lexers)
1441 property Line: Integer read FLine write FLine;
1444 /// Returns the character position in the line when the error
1614 /// <summary>Current line number within the input (1..n )</summary>
1622 /// line (0..n-1)
1633 /// (i.e. line, charPositionInLine, and p) that can change as you
2854 FLine := FToken.Line;
2865 FLine := CharStream.Line;
2893 if (Payload.Line <= 0) then
2895 // imaginary node; no line/pos info; scan backwards
2901 if Assigned(PriorPayload) and (PriorPayload.Line > 0) then
2903 // we found the most recent real line / pos info
2904 FLine := PriorPayload.Line;
2916 FLine := Payload.Line;
2922 FLine := Tree.Line;
3270 State.Line := FLine;
3299 FLine := State.Line;
3312 FP := Index // just jump; don't update stream state (line, ...)
4025 FLine := AOldToken.Line;
4043 FLine := AOldToken.Line;
4321 Result := 'line ' + IntToStr(E.Line) + ':' + IntToStr(E.CharPositionInLine);
5347 Result.Line := FState.TokenStartLine;
5439 Result := FInput.Line;
5529 FState.TokenStartLine := Finput.Line;
5609 InputSymbol := Char(FInput.LT(1)) + ' line=' + IntToStr(GetLine) + ':'
5618 InputSymbol := Char(FInput.LT(1)) + ' line=' + IntToStr(GetLine) + ':'
5665 T.Line := Current.Line;