C-minor v0.0

AstVariableDeclaration Class

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

Represents a single declared variable

public class AstVariableDeclaration : AstStatement

Inheritance

AstVariableDeclaration → AstStatementAstElementobject

Constructors

AstVariableDeclaration(Topten.Cminor.Lexical.CodePosition)

Fields

InitialValue

Expression to set the initial value

Name

Name of the variable

Owner

Owner of this variable declaration

Type

The variable type

Overridden & Inherited

Position

The source code position of this element

Visit<T>(IAstStatementVisitor<T>)