MatchedTokenResult

class MatchedTokenResult(val token: Token, val nextStateBehavior: NextStateBehavior) : MatcherResult

Indicates that the match was successful and a token was created.

Constructors

Link copied to clipboard
constructor(token: Token, nextStateBehavior: NextStateBehavior)

Properties

Link copied to clipboard

Behavior to apply (e.g. go to the default state, ...)

Link copied to clipboard

The token that is the result of the match.