Properties

Link copied to clipboard
abstract var parent: IsParent?
Link copied to clipboard
abstract val scope: SymbolTable?

is the scope to which the node belongs

Functions

Link copied to clipboard
abstract fun replaceChild(initial: AstObject, replacement: AstObject)

Is replacing a certain child of the class with another object of the same type If the two parameters don't have the same type, no block will be replaced. If the type of initial doesn't match any of the current node children, no child will be replaced

Link copied to clipboard
abstract fun setParentForChildren()

Sets the object as a parent for its children