Package com.valgolang.frontend.datastructures

Types

ConstructorMethod
Link copied to clipboard
interface ConstructorMethod : DataStructureMethod
Constructor methodRepresents the constructor of a data structure
ConstructorNode
Link copied to clipboard
data class ConstructorNode(lineNumber: Int, type: DataStructureType, arguments: List<ExpressionNode>, initialiser: InitialiserNode) : ExpressionNode
Constructor nodeConstructor used to instantiate data structures
DataStructureInitialiserNode
Link copied to clipboard
data class DataStructureInitialiserNode(expressions: List<ExpressionNode>) : InitialiserNode
Data structure initialiser nodeA node representing the intialiser value in a data structure constructor
DataStructureMethod
Link copied to clipboard
interface DataStructureMethod
Data structure methodRepresents member methods a data structure implements
DataStructureType
Link copied to clipboard
abstract class DataStructureType(internalType: Type) : Type
Data structure typeShould be extended when adding new data structures to the language
ErrorMethod
Link copied to clipboard
object ErrorMethod : DataStructureMethod
Error methodUsed in semantic checks to return when method does not exist on data structure.
MethodCallNode
Link copied to clipboard
data class MethodCallNode(lineNumber: Int, instanceIdentifier: String, dataStructureMethod: DataStructureMethod, arguments: List<ExpressionNode>, identifier: String) : ExpressionNode, AssignLHS
Method call node
NullableDataStructure
Link copied to clipboard
interface NullableDataStructure
Nullable data structure