Trees | Indices | Help |
|
---|
|
object --+ | IntStream --+ | CharStream
@brief A source of characters for an ANTLR lexer.
This is an abstract class that must be implemented by a subclass.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
EOF = -1
|
|
|||
Inherited from |
|
For infinite streams, you don't need this; primarily I'm providing a useful interface for action code. Just make sure actions don't use this on streams that don't support it. |
Get the ith character of lookahead. This is the same usually as LA(i). This will be used for labels in the generated lexer code. I'd prefer to return a char here type-wise, but it's probably better to be 32-bit clean and be consistent with LA. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:27 2015 | http://epydoc.sourceforge.net |