Enum ActionContext
Describes where in a grammar an embedded action or predicate was declared.
public enum ActionContext
- Extension Methods
Fields
Alternative = 2Inline action embedded inside an alternative:
{ code }.Grammar = 0Top-level grammar action:
@header { },@members { }.LexerCommand = 3Structured lexer command:
-> skip,-> channel(HIDDEN),-> type(TOKEN).Rule = 1Rule-level lifecycle action:
@init { },@after { }.