new Declaration
fun newDeclaration( declarationKind: DeclarationPhraseDescriptor.DeclarationKind, token: A_Token, declaredType: A_Type, typeExpression: A_Phrase, initializationExpression: A_Phrase, literalObject: A_BasicObject): A_Phrase
Content copied to clipboard
Construct a declaration phrase of some kind.
Return
The new declaration phrase.
Parameters
declaration Kind
The kind of declaration to create.
token
The token that is the defining occurrence of the name of the entity being declared.
declared Type
The type of the entity being declared.
type Expression
The expression that produced the type for the entity being declared, or nil if there was no such expression.
initialization Expression
An expression used for initializing the entity being declared, or nil if none.
literal Object
An AvailObject that is the actual variable or constant being defined, or nil if none.