Removable

interface Removable : AstObject

Used to describe an AstObject that can be removed from its parent

Inheritors

Properties

Link copied to clipboard
abstract var line: Int

is the line at which the statement/code component begins in the program text file

Link copied to clipboard
abstract var parent: IsParent?

is the parent of the node in the Syntax Tree

Link copied to clipboard
abstract val scope: SymbolTable?

is the scope to which the node belongs

Functions

Link copied to clipboard
open fun removeFromParent()

Removes an AstObject from its parent