Table of Contents

Enum ActionContext

Namespace
Utils.Parser.Model
Assembly
Utils.Parser.dll

Describes where in a grammar an embedded action or predicate was declared.

public enum ActionContext
Extension Methods

Fields

Alternative = 2

Inline action embedded inside an alternative: { code }.

Grammar = 0

Top-level grammar action: @header { }, @members { }.

LexerCommand = 3

Structured lexer command: -> skip, -> channel(HIDDEN), -> type(TOKEN).

Rule = 1

Rule-level lifecycle action: @init { }, @after { }.