FunctionData

data class FunctionData(inferred: Boolean, firstTime: Boolean, parameters: List<ParameterNode>, type: Type) : SymbolTableData

Function data

Stores information on parameter types and return type of functions

Constructors

FunctionData
Link copied to clipboard
fun FunctionData(inferred: Boolean, firstTime: Boolean, parameters: List<ParameterNode>, type: Type)
Create empty Function data

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component2
Link copied to clipboard
operator fun component2(): Boolean
component3
Link copied to clipboard
operator fun component3(): List<ParameterNode>
component4
Link copied to clipboard
operator fun component4(): Type
copy
Link copied to clipboard
fun copy(inferred: Boolean, firstTime: Boolean, parameters: List<ParameterNode>, type: Type): FunctionData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

firstTime
Link copied to clipboard
var firstTime: Boolean
inferred
Link copied to clipboard
val inferred: Boolean
parameters
Link copied to clipboard
val parameters: List<ParameterNode>
type
Link copied to clipboard
open override var type: Type