Skip to content
ChartForgeX
Class

MermaidRailroadRule

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

A source-located rule whose references remain symbolic.

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public MermaidRailroadRule(string id, MermaidRailroadExpression definition, MermaidSourceSpan span) #

Initializes a rule.

Parameters

id string required
definition ChartForgeX.Mermaid.MermaidRailroadExpression required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Id { get; } #

Gets the authored stable rule identity.

public MermaidRailroadExpression Definition { get; } #

Gets the typed located expression.