C-minor v0.0

Topten.Cminor.Ast Namespace

Classes

AstAttribute

Represents an [attribute] instance

AstBreakStatement

Represents a 'break' statement

AstCaseClause

Represents a 'case' clause in a 'switch' statement

AstClassOrStructDeclarationStatement

Represents a 'break' statement

AstCodeBlock

Represents a code block assocatied witha control flow statement

AstCompilationUnit

Represents a block of statements

AstContinueStatement

Represents a 'continue' statement

AstDoWhileStatement

Represents while loop statement

AstElement

Base class for all AST elements

AstExpressionStatement

Represents an expression as a statement

AstExprNode

Common base class for all expression noeds

AstExprNodeBinaryOp

Represents a binary operator

AstExprNodeIdentifier

Represents an indentifier in an expression

AstExprNodeIdentifier.Nested
AstExprNodeIndexer

Represents an indentifier in an expression

AstExprNodeInterpolatedString

Represents a literal value in an expression

AstExprNodeInterpolatedString.Part
AstExprNodeLiteral

Represents a literal value in an expression

AstExprNodeMethodCall

Represents an method call in an expression

AstExprNodeTernaryOp

Represents the ternary condition ?: operator

AstExprNodeTypeCast

Represents a unary operator

AstExprNodeUnaryOp

Represents a unary operator

AstFormatter
AstForStatement

Represents for loop statement

AstFunctionDeclarationStatement

Represents a function declaration

AstIfStatement

Represents an if statement

AstParameterDeclaration

Represents a single parameter

AstReturnStatement

Represents a 'return'

AstStatement

Common base class for all statements

AstSwitchCasePredicate

Represents a match predicate for a switch clause

AstSwitchStatement

Represents a switch statement

AstTypeName

Represents a type name

AstVariableDeclaration

Represents a single declared variable

AstVariableDeclarationStatement

Represents variable declaration statement

AstWhileStatement

Represents while loop statement

VisitHelpers

Interfaces

IAstExprNodeVisitor<T>

Visitor pattern callback for AstExprNode

IAstStatementVisitor<T>

Visitor pattern callback for AstStatement

Enums

OperatorPrecedence