C# Class AST.SwitchStmt

Switch Statement
Inheritance: Stmt
Show file Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
Create ( Expr expr, Stmt stmt ) : Stmt
GetStmt ( ABT env ) : ABT.Stmt>.Tuple
SwitchStmt ( Expr expr, Stmt stmt ) : System

Method Details

Create() public static method

public static Create ( Expr expr, Stmt stmt ) : Stmt
expr Expr
stmt Stmt
return Stmt

GetStmt() public method

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

SwitchStmt() public method

public SwitchStmt ( Expr expr, Stmt stmt ) : System
expr Expr
stmt Stmt
return System