Skip to content
ChartForgeX
Class

RailroadRule

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
sealed

A stable rule identity, displayed label and immutable definition.

Inheritance

  • object
  • RailroadRule

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 RailroadRule(string id, string label, RailroadExpression expression) #

Initializes a grammar rule.

Parameters

id string required
label string required
expression ChartForgeX.VisualBlocks.RailroadExpression required

Properties

public string Id { get; } #

Gets the stable identity used by symbolic references.

public string Label { get; } #

Gets the displayed rule heading.

public RailroadExpression Expression { get; } #

Gets the immutable grammar expression.