Declaration Kind
These are the kinds of arguments, variables, constants, and labels that can be declared. There are also optional initializing expressions, fixed values (for module constants), and fixed variable objects (for module variables).
Author
Mark van Gulik
Entries
A local variable, declared within a block.
A local constant, declared within a block.
A variable declared at the outermost (module) scope.
A constant declared at the outermost (module) scope.
A local constant, declared within a block.
Properties
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.
Whether this entity occurs at the module scope.
Whether this entity can be modified.
Functions
If this is an ordinary declaration then it was handled on a separate pass. Do nothing by default.
Emit an assignment to this variable.
Emit a reference to this variable.
Emit a use of this variable.
Answer a Java String describing this kind of declaration.
Return the instance of the enumeration PhraseKind that is associated with this kind of declaration.
Print a declaration of this kind.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.