GlobalScopeSymbolTable

class GlobalScopeSymbolTable : SymbolTable

Global scope symbol table

Root level symbol table representing the the global scope. This does not have a parent scope.

Constructors

GlobalScopeSymbolTable
Link copied to clipboard
fun GlobalScopeSymbolTable()
Create empty Global scope symbol table

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
get
Link copied to clipboard
open operator override fun get(identifier: String): SymbolTableData
GetReturns information on the identifier given if present.
getFunctions
Link copied to clipboard
fun getFunctions(): Map<String, SymbolTableData>
Get functionsGets functions in symbol table
hashCode
Link copied to clipboard
open fun hashCode(): Int
set
Link copied to clipboard
operator fun set(identifier: String, data: SymbolTableData)
SetSets the information of the given identifier to data.
toString
Link copied to clipboard
open fun toString(): String

Properties

id
Link copied to clipboard
open val id: Int