34 #include "os/file_access.h" 35 #include "reference.h" 70 void unescape(
String& p_str);
84 String _replace_special_characters(
const String& origstr);
85 bool _set_text(
char* start,
char* end);
86 void _parse_closing_xml_element();
87 void _ignore_definition();
89 void _parse_comment();
90 void _parse_opening_xml_element();
91 void _parse_current_node();
93 static void _bind_methods();
99 NodeType get_node_type();
100 String get_node_name()
const;
101 String get_node_data()
const;
102 uint64_t get_node_offset()
const;
103 int get_attribute_count()
const;
104 String get_attribute_name(
int p_idx)
const;
105 String get_attribute_value(
int p_idx)
const;
106 bool has_attribute(
const String& p_name)
const;
108 String get_attribute_value_safe(
const String& p_name)
const;
109 bool is_empty()
const;
110 int get_current_line()
const;
113 Error seek(uint64_t p_pos);
115 Error open(
const String& p_path);
Definition: reference.h:40
SourceFormat
Enumeration of all supported source text file formats.
Definition: xml_parser.h:46
Definition: xml_parser.h:41