getConstantsInSchema

getConstantsInSchema(topSchema: Schema;
                     constDict: ConstantNDict input);

The getConstantsInSchema method of the Type class adds references to the constants in the schema specified in the topSchema parameter to the constants dictionary specified in the constDict parameter.

The dictionary is not cleared before instances are added.