ICodeInput
Description
Base interface for classes that provide input source code for parsing.
This interface provides access to the sequential character stream of the input source code via IText.CharAt and IText.CharsAt, which read data from the stream incrementally. Using other members of IText might trigger reading the whole data stream.
- See also
Public / Methods
AsExcerpt
2 overloads
Creates an excerpt of this input source code.
Creates an excerpt of this input source code.
Discard
Discards the input source code up to the given character offset.
A parser may call this method when it has determined that it no longer needs the data it has already seen. An implementation may use this hint to free resources early, especially when parsing huge amounts of source code from a character stream.