Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface Breakable

Represents scopes that can be interrupted by a BreakStatement.

Link copied to clipboard
interface Continuable

Represents scopes that can be interrupted by a ContinueStatement.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A scope which acts as a namespace with a certain name, which is prefixed to all local names declared in it. This could be a package or other structural elements, like a class. In the latter case, the derived RecordScope should be used.

Link copied to clipboard
class RecordScope(node: Node) : NameScope

Represents the scope of a record or class, most likely created by a RecordDeclaration.

Link copied to clipboard
abstract class Scope(var astNode: Node?)

Represent semantic scopes in the language. Depending on the language scopes can have visibility restriction and can act as namespaces to avoid name collisions.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class ValueDeclarationScope(var astNode: Node?) : Scope

Is a scope where local variables can be declared and independent of specific language constructs. Works for if, for, and extends to the block scope