new Primitive Failure Variable
fun newPrimitiveFailureVariable( token: A_Token, typeExpression: A_Phrase, type: A_Type): A_Phrase
Content copied to clipboard
Construct a new declaration of a DeclarationKind.PRIMITIVE_FAILURE_REASON. This is set up automatically when a primitive fails, and the statements of the block should not be allowed to write to it.
Return
The new local constant declaration.
Parameters
token
The token that is the defining occurrence of the name of the local constant being declared.
type Expression
The expression that produced the type for the entity being declared, or nil if there was no such expression.
type
The type of the primitive failure variable being declared.