Class Stmt.If
Inheritance
System.Object
Stmt.If
Assembly: Perlang.Common.dll
Syntax
Constructors
|
Improve this Doc
View Source
If(Expr, Stmt, Stmt)
Declaration
public If(Expr condition, Stmt thenBranch, Stmt elseBranch)
Parameters
Type |
Name |
Description |
Expr |
condition |
|
Stmt |
thenBranch |
|
Stmt |
elseBranch |
|
Properties
|
Improve this Doc
View Source
Condition
Declaration
public Expr Condition { get; }
Property Value
|
Improve this Doc
View Source
ElseBranch
Declaration
public Stmt ElseBranch { get; }
Property Value
|
Improve this Doc
View Source
ThenBranch
Declaration
public Stmt ThenBranch { get; }
Property Value
Methods
|
Improve this Doc
View Source
Accept<TR>(Stmt.IVisitor<TR>)
Declaration
public override TR Accept<TR>(Stmt.IVisitor<TR> visitor)
Parameters
Returns
Type Parameters
Overrides
Perlang.Stmt.Accept<TR>(Perlang.Stmt.IVisitor<TR>)