Table of Contents

Interface ILexerPredicateEvaluator

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

Evaluates lexer semantic predicates when an explicit runtime policy opts in to them.

public interface ILexerPredicateEvaluator
Extension Methods

Methods

Evaluate(LexerPredicateEvaluationContext)

Evaluates a lexer predicate while the lexer is matching a candidate token path.

LexerPredicateEvaluationOutcome Evaluate(LexerPredicateEvaluationContext context)

Parameters

context LexerPredicateEvaluationContext

Context describing the lexer predicate location.

Returns

LexerPredicateEvaluationOutcome

The predicate evaluation outcome.