Interface: FunctionDeclarationSemantics
compiler.FunctionDeclarationSemantics
Semantics for AST Node FunctionDeclaration.
Since
0.3.0
Hierarchy
-
↳
FunctionDeclarationSemantics
Table of contents
Properties
Properties
functionBody
• functionBody: CompoundStatement
The body of the function.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/declarations/function-declaration/function-declaration-semantics.ts:38
identifier
• identifier: string
The identifier of the function.
Since
0.5.0
Overrides
DeclarationSemantics.identifier
Defined in
kipper/core/src/compiler/ast/nodes/declarations/function-declaration/function-declaration-semantics.ts:18
isDefined
• isDefined: boolean
Returns true if this declaration defines the function body for the function.
Since
0.5.0
Defined in
kipper/core/src/compiler/ast/nodes/declarations/function-declaration/function-declaration-semantics.ts:28
params
• params: ParameterDeclaration
[]
The available parameter for the function invocation.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/declarations/function-declaration/function-declaration-semantics.ts:33
returnTypeSpecifier
• returnTypeSpecifier: IdentifierTypeSpecifierExpression
The type specifier expression for the return type.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/declarations/function-declaration/function-declaration-semantics.ts:23