Table of Contents

Class GrammarAction

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

Represents a named action block declared at grammar level, such as @header { import ... } or @members { int count = 0; }.

public record GrammarAction : IEquatable<GrammarAction>
Inheritance
GrammarAction
Implements
Inherited Members
Extension Methods

Constructors

GrammarAction(string, string, string?)

Represents a named action block declared at grammar level, such as @header { import ... } or @members { int count = 0; }.

public GrammarAction(string Name, string RawCode, string? Target = null)

Parameters

Name string
RawCode string
Target string

Properties

Name

public string Name { get; init; }

Property Value

string

RawCode

public string RawCode { get; init; }

Property Value

string

Target

public string? Target { get; init; }

Property Value

string