示例#1
0
 public void visit(ISimpleArrayNode value)
 {
     string s = value.GetType().Name + ".";
     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_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 + "");
     prepare_string_node(value.is_generic_type_definition.ToString(), s + "");
     prepare_string_node(value.is_value_type.ToString(), s + "");
     prepare_string_node(value.IsInterface.ToString(), s + "");
     prepare_string_node(value.length.ToString(), s + "");
     prepare_string_node(value.node_kind.ToString(), s + "node_kind");
     prepare_string_node(value.type_special_kind.ToString(), s + "type_special_kind");
 }
示例#2
0
 public void visit(ISimpleArrayNode value)
 {
     throw new System.NotSupportedException(value.GetType().ToString());
 }