Skip to content
ChartForgeX
Class

MermaidZenUmlStatement

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

A call, fragment or occurrence carrying exact source identities and spans.

Inheritance

Usage

Explore 3 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.

Constructors

public MermaidZenUmlStatement(MermaidZenUmlStatementKind kind, string text, MermaidSourceSpan span) #

Initializes a typed statement.

Parameters

kind ChartForgeX.Mermaid.MermaidZenUmlStatementKind required
text string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public MermaidZenUmlStatementKind Kind { get; } #

Gets the authored semantic kind.

public string Text { get; } #

Gets the method, condition, response or section text.

public string? CallerId { get; set; } #

Gets or sets the caller; null denotes the external initiating lifeline.

public string? TargetId { get; set; } #

Gets or sets the target participant for a call, asynchronous message, creation or return.

public string? Assignment { get; set; } #

Gets or sets the complete inert assignment prefix, including a declared type or modifier.

public string? Keyword { get; set; } #

Gets or sets the authored fragment keyword.

public bool HasBody { get; set; } #

Gets or sets whether braces authored an activation body, including an empty body.

public List<MermaidRawStatement> Comments { get; } #

Gets comments displayed above this statement.

public List<MermaidZenUmlStatement> Children { get; } #

Gets the call occurrence or primary fragment body.

public List<MermaidZenUmlBranch> Branches { get; } #

Gets alternative/catch/finally branches in source order.