C# Class AST.ForStmt

for (init; cond; loop) { body } cond must be scalar
Inheritance: Stmt
Show file Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
Create ( Option init, Option cond, Option loop, Stmt body ) : Stmt
ForStmt ( Option init, Option cond, Option loop, Stmt body ) : System
GetStmt ( ABT env ) : ABT.Stmt>.Tuple

Method Details

Create() public static method

public static Create ( Option init, Option cond, Option loop, Stmt body ) : Stmt
init Option
cond Option
loop Option
body Stmt
return Stmt

ForStmt() public method

public ForStmt ( Option init, Option cond, Option loop, Stmt body ) : System
init Option
cond Option
loop Option
body Stmt
return System

GetStmt() public method

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