Interface: ReturnStatementSemantics
compiler.ReturnStatementSemantics
Semantics for AST Node ReturnStatement.
Since
0.10.0
Hierarchy
-
↳
ReturnStatementSemantics
Table of contents
Properties
Properties
function
• function: KipperCallable
The function that this return statement is in.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/statements/return-statement/return-statement-semantics.ts:23
returnValue
• returnValue: undefined
| Expression
<ExpressionSemantics
, ExpressionTypeSemantics
, CompilableASTNode
<SemanticData
, TypeData
>>
The value of the ReturnStatement, which is optional, if the return type is void.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/statements/return-statement/return-statement-semantics.ts:18