addDeclaration

fun addDeclaration(declaration: A_Phrase): A_Phrase?

Attempt to add the declaration to the compiler scope information within the client data stored in the current fiber. If there is already a declaration by that name, return it; otherwise return null.

Return

null if successful, otherwise the existing declaration that was in conflict.

Parameters

declaration