Table of Contents

Class LexerNode

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

A leaf node corresponding to a single token produced by the lexer.

public record LexerNode : ParseNode, IEquatable<ParseNode>, IEquatable<LexerNode>
Inheritance
LexerNode
Implements
Inherited Members
Extension Methods

Constructors

LexerNode(SourceSpan, string, Rule, Token)

A leaf node corresponding to a single token produced by the lexer.

public LexerNode(SourceSpan Span, string ModeName, Rule Rule, Token Token)

Parameters

Span SourceSpan
ModeName string
Rule Rule
Token Token

Properties

Token

public Token Token { get; init; }

Property Value

Token