com.reactific.riddl.language.parsing.RiddlParserInput
See theRiddlParserInput companion object
abstract class RiddlParserInput extends ParserInput
Same as fastparse.IndexedParserInput but with Location support
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class ParserInputtrait IsReachableclass Objecttrait Matchableclass Any
- Known subtypes
-
class FileParserInputclass SourceParserInputclass StringParserInputclass URIParserInputclass URLParserInput
Members list
Value members
Concrete methods
Special method for Iterator mode.
Special method for Iterator mode. It drops the prefix of the internal buffer so that all the data strictly before becomes unavailable and index is the first valid element to access.
Attributes
- Definition Classes
-
ParserInput
Attributes
- Definition Classes
-
ParserInput
Shows if we can access to the element at given index.
Shows if we can access to the element at given index.
Attributes
- Definition Classes
-
ParserInput -> IsReachable
Attributes
- Returns
-
Slice of internal data. For
IndexedSeqmode it works as regular slice, ifuntilovershoots the end of input, it just ignores it and behaves likeuntilequals to the length of input. Same forIteratormode, but it requests batches while the index of last retrieved element is less thanuntiland ifuntilis farther away than any element, it ignores this too. - Definition Classes
-
ParserInput
In this article