Beispiel #1
0
 public void visit(IBasicTypeNode value)
 {
     string s = value.GetType().ToString() + ".";
     prepare_string_node(value.name, s + "name");
     prepare_node(value.base_type, s + "base_type");
     prepare_node(value.element_type, s + "element_type");                 
     //value.generic_container
     prepare_base_node_collection_up_links(value.ImplementingInterfaces, s + "ImplementingInterfaces", "ImplementingInterfaces", value.ImplementingInterfaces.Count);
     prepare_string_node(value.is_class.ToString(), s + "is_class");
     prepare_string_node(value.is_generic_parameter.ToString(), s + "is_generic_parameter");
     prepare_string_node(value.is_generic_type_definition.ToString(), s + "is_generic_type_definition");
     prepare_string_node(value.is_value_type.ToString(), s + "is_value_type");
     prepare_string_node(value.IsInterface.ToString(), s + "IsInterface");
     prepare_string_node(value.node_kind.ToString(), s + "node_kind");
     prepare_string_node(value.type_special_kind.ToString(), s + "type_special_kind");
 }
Beispiel #2
0
 public void visit(IBasicTypeNode value)
 {
     throw new System.NotSupportedException(value.GetType().ToString());
 }