AstElement Class
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast
Base class for all AST elements
public abstract class AstElement
Inheritance
AstElement → object
Derived By
AstExprNode, AstStatement, AstExpressionStatement, AstAttribute, AstBreakStatement, AstCaseClause, AstClassOrStructDeclarationStatement, AstCodeBlock, AstCompilationUnit, AstContinueStatement, AstDoWhileStatement, AstExprNodeBinaryOp, AstExprNodeIdentifier, AstExprNodeIndexer, AstExprNodeInterpolatedString, AstExprNodeLiteral, AstExprNodeMethodCall, AstExprNodeTernaryOp, AstExprNodeTypeCast, AstExprNodeUnaryOp, AstForStatement, AstFunctionDeclarationStatement, AstIfStatement, AstParameterDeclaration, AstReturnStatement, AstSwitchCasePredicate, AstSwitchStatement, AstTypeName, AstVariableDeclaration, AstVariableDeclarationStatement, AstWhileStatement
Constructors
AstElement(Topten.Cminor.Lexical.CodePosition) | Consructor |
Properties
Position | The source code position of this element |