C-minor v0.0

AstIfStatement Class

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast

Represents an if statement

public class AstIfStatement : AstStatement

Inheritance

AstIfStatement → AstStatementAstElementobject

Constructors

AstIfStatement(Topten.Cminor.Lexical.CodePosition)

Constructor

Fields

Condition

The condition expression

FalseBlock

An option false code block

TrueBlock

The true code block

Overridden & Inherited

Position

The source code position of this element

Visit<T>(IAstStatementVisitor<T>)