Class Stmt.ExpressionStmt
An expression statement is a statement for wrapping a single expression in statement form.
Inheritance
System.Object
Stmt.ExpressionStmt
Assembly: Perlang.Common.dll
Syntax
public class ExpressionStmt : Stmt
Constructors
|
Improve this Doc
View Source
ExpressionStmt(Expr)
Declaration
public ExpressionStmt(Expr expression)
Parameters
Type |
Name |
Description |
Expr |
expression |
|
Properties
|
Improve this Doc
View Source
Expression
Declaration
public Expr Expression { 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>)