Class IfStatement
Namespace: DotBoxD.Kernels
Assembly: DotBoxD.Kernels.dll
public sealed record IfStatement : Statement, IEquatable<Statement>, IEquatable<IfStatement>Inheritance
Section titled “Inheritance”object ← Statement ← IfStatement
Implements
Section titled “Implements”IEquatable<Statement>, IEquatable<IfStatement>
Inherited Members
Section titled “Inherited Members”Statement.Span, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”IfStatement(Expression, IReadOnlyList<Statement>, IReadOnlyList<Statement>, SourceSpan)
Section titled “ IfStatement(Expression, IReadOnlyList<Statement>, IReadOnlyList<Statement>, SourceSpan)”public IfStatement(Expression Condition, IReadOnlyList<Statement> Then, IReadOnlyList<Statement> Else, SourceSpan Span)Parameters
Section titled “Parameters”Condition Expression
Then IReadOnlyList<Statement>
Else IReadOnlyList<Statement>
Span SourceSpan
Properties
Section titled “Properties”Condition
Section titled “ Condition”public Expression Condition { get; init; }Property Value
Section titled “Property Value”public IReadOnlyList<Statement> Else { get; init; }Property Value
Section titled “Property Value”public IReadOnlyList<Statement> Then { get; init; }