Lines Matching refs:element
32 def parse_schema(element, filename): argument
34 namespace = element.attrib["Namespace"]
35 for schema_element in element:
54 for element in ds:
55 if element.tag == EDM + "Schema":
56 results.extend(parse_schema(element, filename))
80 for element in enum_list:
81 redfish_defs_file.write("enum class {}{{\n".format(element.name))
82 values = element.values
91 for element in enum_list:
92 values = element.values
100 "NLOHMANN_JSON_SERIALIZE_ENUM({}, {{\n".format(element.name)
104 ' {{{}::{}, "{}"}},\n'.format(element.name, value, value)
109 print(element.name)
122 for element in flat_list:
123 if isinstance(element, Enum):
124 namespace_split = element.namespace.split(".")[0]
125 enum_by_namespace[namespace_split].append(element)