AstFunctionDeclarationStatement Class
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast
Represents a function declaration
public class AstFunctionDeclarationStatement : AstStatement
Inheritance
AstFunctionDeclarationStatement → AstStatement → AstElement → object
Constructors
AstFunctionDeclarationStatement(Topten.Cminor.Lexical.CodePosition) | Constructor |
Fields
Name | Name of the function |
Parameters | List of variable declarations |
ReturnType | The condition expression |
Properties
Attributes | Attributes applied to this method |
BoundMethod | The type info member for this function |
CodeBlock | The function's code |
Modifiers | A set of modifiers applied to this method |
Overridden & Inherited
Position | The source code position of this element |
Visit<T>(IAstStatementVisitor<T>) |