private expression_node create_constant_reference(constant_definition_node cdn, location loc) { if (cdn is namespace_constant_definition) return new namespace_constant_reference(cdn as namespace_constant_definition,loc); else if (cdn is function_constant_definition) return new function_constant_reference(cdn as function_constant_definition,loc); else return cdn.const_value; }
public SymbolInfo(constant_definition_node value) { //_name_information_type=name_information_type.nit_constant_defnition; _sym_info=value; _access_level=access_level.al_public; _symbol_kind=symbol_kind.sk_none; }