Table of Contents

Enum EmbeddedCodeKind

Namespace
Utils.Parser.EmbeddedCode
Assembly
Utils.Parser.dll

Identifies the ANTLR embedded-code construct that owns a raw source block.

public enum EmbeddedCodeKind
Extension Methods

Fields

GrammarAction = 4

Grammar-level action source from a prequel construct such as @members.

LexerAction = 5

Opaque lexer action source from a lexer rule alternative.

LexerPredicate = 6

Lexer predicate source from a lexer rule alternative.

ParserInlineAction = 1

Inline parser action source from a parser alternative construct such as { code }.

RuleAfterAction = 3

Rule finalization action source from a rule prequel construct such as @after { }.

RuleInitAction = 2

Rule initialization action source from a rule prequel construct such as @init { }.

SemanticPredicate = 0

Semantic predicate source from a parser construct such as { condition }?.