IgnoreMatchResult

class IgnoreMatchResult(val tokenEndsAt: Int, val nextStateBehavior: NextStateBehavior) : MatcherResult

Indicates that the match was successful, but no token should be created for this match.

Constructors

Link copied to clipboard
constructor(tokenEndsAt: Int, nextStateBehavior: NextStateBehavior)

Properties

Link copied to clipboard

The behavior to follow after processing this match regarding states

Link copied to clipboard

Where the ignored token ends (exclusive, this is the index where the lexer will resume)