Function Node
data class FunctionNode(lineNumber: Int, scope: Int, identifier: String, parameters: List<ParameterNode>, statements: List<StatementNode>) : CodeNode
Content copied to clipboard
Function node
Represents a function declaration
Constructors
FunctionNode
Link copied to clipboard
fun FunctionNode(lineNumber: Int, scope: Int, identifier: String, parameters: List<ParameterNode>, statements: List<StatementNode>)
Content copied to clipboard
Create empty Function node
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(lineNumber: Int, scope: Int, identifier: String, parameters: List<ParameterNode>, statements: List<StatementNode>): FunctionNode
Content copied to clipboard
Properties
identifier
Link copied to clipboard
lineNumber
Link copied to clipboard
parameters
Link copied to clipboard
statements
Link copied to clipboard