Runstate

io.github.edadma.recognizer.Recognizer.Runstate
class Runstate

Represents the execution state during pattern matching.

Value parameters

pat

the initial pattern to match

pointer

the current input position

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def backtrack: Boolean

Backtracks to the most recent choice point.

Backtracks to the most recent choice point.

Attributes

Returns

true if backtracking succeeded, false if no choice points remain

def values: List[Any]

Returns the current values on the stack.

Returns the current values on the stack.

Attributes

Returns

the list of values on the stack