Click or drag to resize

IIntStream Properties

The IIntStream type exposes the following members.

Properties
  NameDescription
Public propertyCount
Only makes sense for streams that buffer everything up probably, but might be useful to display the entire stream or for testing. This value includes a single EOF.
Public propertyIndex
Return the current input symbol index 0..n where n indicates the last symbol has been read. The index is the symbol about to be read not the most recently read symbol.
Public propertySourceName
Where are you getting symbols from? Normally, implementations will pass the buck all the way to the lexer who can ask its input stream for the file name or whatever.
Top
See Also