MermaidZenUmlStatement
ChartForgeX.Mermaid
A call, fragment or occurrence carrying exact source identities and spans.
Inheritance
- MermaidAstNode
- MermaidZenUmlStatement
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.
Returned or exposed by 3
- Property MermaidZenUmlBranch.Statements
- Property MermaidZenUmlDocument.Statements
- Property MermaidZenUmlStatement.Children
Constructors
public MermaidZenUmlStatement(MermaidZenUmlStatementKind kind, string text, MermaidSourceSpan span) #Initializes a typed statement.
Parameters
- kind ChartForgeX.Mermaid.MermaidZenUmlStatementKind
- text string
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
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.