Table of Contents

Class ModeSwitch

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

A lexer mode switch: pushMode, popMode, or mode directive.

public record ModeSwitch : RuleContent, IEquatable<RuleContent>, IEquatable<ModeSwitch>
Inheritance
ModeSwitch
Implements
Inherited Members
Extension Methods

Constructors

ModeSwitch(string, bool)

A lexer mode switch: pushMode, popMode, or mode directive.

public ModeSwitch(string ModeName, bool Push)

Parameters

ModeName string
Push bool

Properties

ModeName

public string ModeName { get; init; }

Property Value

string

Push

public bool Push { get; init; }

Property Value

bool