Package ast. function
Types
Link copied to clipboard
class FunctionArgument(val expression: Expression?, val default: Boolean)
Content copied to clipboard
Represents an argument passed to a function invocation.
Link copied to clipboard
class FunctionCall(val expression: Expression, val arguments: Array<FunctionArgument>) : Expression, Statement
Content copied to clipboard
Represents the invocation of a function.
Link copied to clipboard
class FunctionParameter( val name: Identifier, val type: Type, val default: Expression?)
Content copied to clipboard
Represents a function parameter, as defined in the function's signature.
Link copied to clipboard
class NssFunction( val name: Identifier, val parameters: Array<FunctionParameter>, val retType: Type, val body: Block, val native: Boolean = false) : Statement
Content copied to clipboard
Represents the definition of a function.
Link copied to clipboard
Represents the exit from a function, optionally returning a value to the caller.