LABEL

A label declaration at the start of a block.

Functions

Link copied to clipboard
open override fun emitEffectForOn(    tokens: A_Tuple,     declarationNode: A_Phrase,     codeGenerator: AvailCodeGenerator)

Let the code generator know that the label occurs at the current code position.

Link copied to clipboard
open fun emitVariableAssignmentForOn(    tokens: A_Tuple,     declarationNode: A_Phrase,     codeGenerator: AvailCodeGenerator)

Emit an assignment to this variable.

Link copied to clipboard
open fun emitVariableReferenceForOn(    tokens: A_Tuple,     declarationNode: A_Phrase,     codeGenerator: AvailCodeGenerator)

Emit a reference to this variable.

Link copied to clipboard
open override fun emitVariableValueForOn(    tokens: A_Tuple,     declarationNode: A_Phrase,     codeGenerator: AvailCodeGenerator)

Emit a use of this variable.

Link copied to clipboard
fun kindName(): A_String

Return an Avail string describing this kind of declaration.

Link copied to clipboard
fun nativeKindName(): String

Answer a Java String describing this kind of declaration.

Link copied to clipboard
fun phraseKind(): PhraseTypeDescriptor.PhraseKind

Return the instance of the enumeration PhraseKind that is associated with this kind of declaration.

Link copied to clipboard
open override fun print(    self: A_Phrase,     builder: StringBuilder,     recursionMap: IdentityHashMap<A_BasicObject, Void>,     indent: Int)

Print a declaration of this kind.

Properties

Link copied to clipboard
open override val fieldName: String

Answer the name of this enumeration value.

Link copied to clipboard
open override val fieldOrdinal: Int

Answer an integer that identifies this enumeration value uniquely within this enumeration subclass (i.e., any enumeration class implementing this interface). These values are allocated sequentially to the enumeration values, starting at zero.

Link copied to clipboard
val isModuleScoped: Boolean

Whether this entity occurs at the module scope.

Link copied to clipboard
val isVariable: Boolean

Whether this entity can be modified.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int