C-minor v0.0

AstSwitchStatement Class

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

Represents a switch statement

public class AstSwitchStatement : AstStatement

Inheritance

AstSwitchStatement → AstStatementAstElementobject

Constructors

AstSwitchStatement(Topten.Cminor.Lexical.CodePosition)

Constructor

Fields

CaseClauses

A set of claused declaring each of the switch options

Expression

The expression to switch on

Overridden & Inherited

Position

The source code position of this element

Visit<T>(IAstStatementVisitor<T>)