SwitchScope

Constructors

Link copied to clipboard
fun SwitchScope(switchStatement: SwitchStatement)

Functions

Link copied to clipboard
open override fun addBreakStatement(breakStatement: BreakStatement)
Link copied to clipboard
open fun addDeclaration(declaration: Declaration, addToAST: Boolean)
Link copied to clipboard
fun addLabelStatement(labelStatement: LabelStatement)
Link copied to clipboard
Link copied to clipboard
fun addValueDeclaration(valueDeclaration: ValueDeclaration, addToAST: Boolean)

THe value declarations are only set in the ast node if the handler of the ast node may not know the outer

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open override var astNode: Node?
Link copied to clipboard
open override val breakStatements: List<BreakStatement>
Link copied to clipboard

The list of child scopes.

Link copied to clipboard

Returns the GlobalScope of this scope by traversing its parents upwards.

Link copied to clipboard
var id: Long? = null

Required field for object graph mapping. It contains the scope id.

Link copied to clipboard
var name: Name? = null

The real new name

Link copied to clipboard
var parent: Scope? = null

Scopes are nested and therefore have a parent child relationship, this two members will help navigate through the scopes,e.g. when looking up variables.

Link copied to clipboard
var scopedName: String? = null

FQN Name currently valid

Link copied to clipboard

A map of typedefs keyed by their alias.