Interface Conflict<T>

Type Parameters

  • T

Hierarchy

  • Conflict

Properties

anotherRule: Readonly<GrammarRule<T>>

If this is a R-S conflict, this rule is a shifter rule. If this is a R-R conflict, this rule is a reducer rule.

handleEnd: boolean

Whether to handle conflict if reach the end of input using reject.

length?: number

R-S conflict only. How many grammars are overlapped in rule.

next: readonly Readonly<Grammar>[] | "*"

A list of grammars that will cause conflicts when appear at the next of input.

reducerRule: Readonly<GrammarRule<T>>

The rule that will try to reduce some grammars to an NT in a conflict.

Generated using TypeDoc