CharStream
Namespace: Wooga.Lambda.Parser
A character stream. This class cannot be inherited.
Constructors
Constructor | Description |
new(source)
Signature: source:Stream -> unit
|
Constructor. |
new(chars)
Signature: (chars:char []) -> unit
|
|
new(text)
Signature: text:string -> unit
|
Constructor. |
Instance members
Instance member | Description |
AtPosition(position)
Signature: position:CharStreamPosition -> CharStream
|
At position. |
Peek()
Signature: unit -> char
|
Returns the top-of-stack object without removing it. |
Peek(count)
Signature: count:int64 -> ImmutableList<char>
|
Returns the top-of-stack object without removing it. |
PeekPosition(count)
Signature: count:int64 -> CharStreamPosition
|
Peek position. |