AstStatement Class
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast
Common base class for all statements
public abstract class AstStatement : AstElement
Inheritance
AstStatement → AstElement → object
Derived By
AstExpressionStatement, AstBreakStatement, AstClassOrStructDeclarationStatement, AstCodeBlock, AstCompilationUnit, AstContinueStatement, AstDoWhileStatement, AstForStatement, AstFunctionDeclarationStatement, AstIfStatement, AstReturnStatement, AstSwitchStatement, AstVariableDeclaration, AstVariableDeclarationStatement, AstWhileStatement
Constructors
AstStatement(Topten.Cminor.Lexical.CodePosition) | Constructor |
Methods
Visit<T>(IAstStatementVisitor<T>) | Invoke visitor on this statement |
Overridden & Inherited
Position | The source code position of this element |