C# Class AST.IfStmt

If Statement: if (cond) stmt; If cond is non-zero, stmt is executed. cond must be arithmetic or pointer type.
Inheritance: Stmt
Afficher le fichier Open project: phisiart/C-Compiler Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Expr cond, Stmt stmt ) : Stmt
GetStmt ( ABT env ) : ABT.Stmt>.Tuple
IfStmt ( Expr cond, Stmt stmt ) : System

Method Details

Create() public static méthode

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

GetStmt() public méthode

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

IfStmt() public méthode

public IfStmt ( Expr cond, Stmt stmt ) : System
cond Expr
stmt Stmt
Résultat System