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 EmptyParserInputclass FileParserInputclass SourceParserInputclass StringParserInputclass URIParserInputclass URLParserInputShow all
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
IndexedSeq
mode it works as regular slice, ifuntil
overshoots the end of input, it just ignores it and behaves likeuntil
equals to the length of input. Same forIterator
mode, but it requests batches while the index of last retrieved element is less thanuntil
and ifuntil
is farther away than any element, it ignores this too. - Definition Classes
-
ParserInput
In this article