C# Class AST.IfElseStmt

If-else Statement if (cond) { true_stmt } else { false_stmt }
Inheritance: Stmt
Afficher le fichier Open project: phisiart/C-Compiler Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Expr cond, Stmt trueStmt, Stmt falseStmt ) : Stmt
GetStmt ( ABT env ) : ABT.Stmt>.Tuple
IfElseStmt ( Expr cond, Stmt trueStmt, Stmt falseStmt ) : System

Method Details

Create() public static méthode

public static Create ( Expr cond, Stmt trueStmt, Stmt falseStmt ) : Stmt
cond Expr
trueStmt Stmt
falseStmt Stmt
Résultat Stmt

GetStmt() public méthode

public GetStmt ( ABT env ) : ABT.Stmt>.Tuple
env ABT
Résultat ABT.Stmt>.Tuple

IfElseStmt() public méthode

public IfElseStmt ( Expr cond, Stmt trueStmt, Stmt falseStmt ) : System
cond Expr
trueStmt Stmt
falseStmt Stmt
Résultat System