SizeMethod

data class SizeMethod(returnType: Type, argumentTypes: List<Pair<Type, Boolean>>, varargs: Boolean) : DataStructureMethod

Size method

Constructors

SizeMethod
Link copied to clipboard
fun SizeMethod(returnType: Type = NumberType, argumentTypes: List<Pair<Type, Boolean>> = emptyList(), varargs: Boolean = false)
Create empty Size method

Functions

component1
Link copied to clipboard
operator fun component1(): Type
component2
Link copied to clipboard
operator fun component2(): List<Pair<Type, Boolean>>
component3
Link copied to clipboard
operator fun component3(): Boolean
copy
Link copied to clipboard
fun copy(returnType: Type = NumberType, argumentTypes: List<Pair<Type, Boolean>> = emptyList(), varargs: Boolean = false): StackType.SizeMethod
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

argumentTypes
Link copied to clipboard
open override var argumentTypes: List<Pair<Type, Boolean>>
returnType
Link copied to clipboard
open override val returnType: Type
varargs
Link copied to clipboard
open override val varargs: Boolean = false