Home | History | Annotate | Download | only in doxygen

Lines Matching full:stream

103 /// The <code>LA</code> macro returns the character at index n from the current input stream index. The return 
112 /// offset from the start of the input stream. It returns a value type of #ANTLR3_UINT32.
117 /// stream. It returns a value type of #ANTLR3_UINT32. Note that the line number is incremented
118 /// automatically by an input stream when it sees the input character '\n'. The character that causes
120 /// stream before invoking the lexer and after creating the input stream.
126 /// which allows you to manipulate the text you have retrieved (\b NB this does not change the input stream
127 /// only the text you copy from the input stream when you use this MACRO or $text).
154 /// The <code>INDEX</code> macro returns the current input position according to the input stream. It is not
155 /// guaranteed to be the character offset in the input stream but is instead used as a value
156 /// for marking and rewinding to specific points in the input stream. Use the macro <code>GETCHARINDEX()</code>
157 /// to find out the position of the <code>LA(1)</code> in the input stream.
165 /// An input stream that is pushed on to the stack becomes the current input stream for the lexer and
166 /// the state of the previous stream is automatically saved. The input stream will be automatically
168 /// to return to the previous input stream prior to exhausting the currently stacked input stream.
192 /// // Create a new input stream and take advantage of built in stream stacking
198 /// // Note that the input stream is not closed when it EOFs, I don't bother
203 /// // back to the input stream and trying to get the text for it will abort if you
204 /// // close the input stream too early.
216 /// Assuming that you have stacked an input stream using the PUSHSTREAM macro, you can
217 /// remove it from the stream stack and revert to the previous input stream. You should be careful
218 /// to pop the stream at an appropriate point in your lexer action, so you do not match characters
219 /// from one stream with those from another in the same rule (unless this is what you want to do)
224 /// input stream to which it matches. The token string is instead created only if you ask for
226 /// this macro to set it explicitly. Note that this does not change the input stream text
260 /// token ( LT(1) ) in the input token stream. It can be used for <code>MARK</code> and <code>REWIND</code>
266 /// the current token stream input position. The macro <code>LA(n)</code> returns the token type of the token
270 /// limits of the token stream boundaries will return <code>NULL</code>.
296 /// Returns a reference to the input stream of the appropriate type for the recognizer. In a lexer
303 /// This macro will cause the input stream for the current recognizer to be marked with a
309 /// was set in the input stream.
313 /// Rewinds the appropriate input stream back to the marked checkpoint returned from a prior
319 /// Rewinds the current input stream (character, tokens, tree nodes) back to the last checkpoint
325 /// Causes the input stream to position itself directly at offset <code>n</code> in the stream. Works for all
326 /// input stream types, both lexer, parser and tree parser.