ParserState

class ParserState(number: StateNumber, rulePositions: List<RulePosition>, stateSet: ParserStateSet)

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
firstOf
Link copied to clipboard
common
fun firstOf(ifReachedEnd: LookaheadSet): Set<RuntimeRule>
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
heightOrGraftInto
Link copied to clipboard
common
fun heightOrGraftInto(prevState: ParserState): Set<HeightGraftInfo>
toString
Link copied to clipboard
common
open override fun toString(): String
transitions
Link copied to clipboard
common
fun transitions(previousState: ParserState?): List<Transition>
widthInto
Link copied to clipboard
common
fun widthInto(prevState: ParserState?): Set<WidthInfo>

Properties

isAtEnd
Link copied to clipboard
common
val isAtEnd: Boolean
isGoal
Link copied to clipboard
common
val isGoal: Boolean
isUserGoal
Link copied to clipboard
common
val isUserGoal: Boolean
number
Link copied to clipboard
common
val number: StateNumber
outTransitions
Link copied to clipboard
common
val outTransitions: TransitionCache
rulePositionIdentity
Link copied to clipboard
common
val rulePositionIdentity: List<RuleOptionId>
rulePositions
Link copied to clipboard
common
val rulePositions: List<RulePosition>
runtimeRules
Link copied to clipboard
common
val runtimeRules: List<RuntimeRule>
stateSet
Link copied to clipboard
common
val stateSet: ParserStateSet
terminalRule
Link copied to clipboard
common
val terminalRule: RuntimeRule