C# Class AST.WhileStmt

While Statement while (cond) { body } cond must be of scalar type
Inheritance: Stmt
Show file Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
Create ( Expr cond, Stmt body ) : Stmt
GetStmt ( ABT env ) : ABT.Stmt>.Tuple
WhileStmt ( Expr cond, Stmt body ) : System

Method Details

Create() public static method

public static Create ( Expr cond, Stmt body ) : Stmt
cond Expr
body Stmt
return Stmt

GetStmt() public method

public GetStmt ( ABT env ) : ABT.Stmt>.Tuple
env ABT
return ABT.Stmt>.Tuple

WhileStmt() public method

public WhileStmt ( Expr cond, Stmt body ) : System
cond Expr
body Stmt
return System