summaryrefslogtreecommitdiff
path: root/test/transform/ctypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/ctypes.xml')
-rw-r--r--test/transform/ctypes.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/test/transform/ctypes.xml b/test/transform/ctypes.xml
new file mode 100644
index 0000000..f8ed696
--- /dev/null
+++ b/test/transform/ctypes.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" ?>
+<types>
+ <primitive idl="int" c="int"/>
+
+ <type idl="Attr" c="dom_attr"/>
+ <type idl="Document" c="dom_document">
+ <attribute idl="documentElement" c="document_element"/>
+ <method idl="createElement" c="create_element"/>
+ <method idl="createDocumentFragment" c="create_document_fragment"/>
+ <method idl="createTextNode" c="create_text_node"/>
+ <method idl="createComment" c="create_comment"/>
+ <method idl="createCDATASection" c="create_cdata_section"/>
+ <method idl="createProcessingInstruction" c="create_processing_instruction"/>
+ <method idl="createAttribute" c="create_attribute"/>
+ <method idl="createEntityReference" c="create_entity_reference"/>
+ <method idl="getElementsByTagName" c="get_elements_by_tag_name"/>
+
+ </type>
+ <type idl="DocumentType" c="dom_document_type">
+
+ </type>
+ <type idl="DOMString" c="dom_string">
+ </type>
+ <type idl="Element" c="dom_element">
+ <attribute idl="tagName" c="tag_name"/>
+ <method idl="getAttribute" c="get_attribute"/>
+ <method idl="setAttribute" c="set_attribute"/>
+ <method idl="removeAttribute" c="remove_attribute"/>
+ <method idl="getAttributeNode" c="get_attribute_node"/>
+ <method idl="setAttributeNode" c="set_attribute_node"/>
+ <method idl="removeAttributeNode" c="remove_attribute_node"/>
+ <method idl="getElementsByTagName" c="get_elements_by_tag_name"/>
+ </type>
+ <type idl="Node" c="dom_node">
+ <attribute idl="nodeName" c="node_name"/>
+ <attribute idl="nodeValue" c="node_value"/>
+ <attribute idl="nodeType" c="node_type">
+ <override-type>dom_node_type</override-type>
+ </attribute>
+ <attribute idl="parentNode" c="parent_node"/>
+ <attribute idl="childNodes" c="child_nodes"/>
+ <attribute idl="firstChild" c="first_child"/>
+ <attribute idl="lastChild" c="last_child"/>
+ <attribute idl="previousSibling" c="previous_sibling"/>
+ <attribute idl="nextSibling" c="next_sibling"/>
+ <attribute idl="ownerDocument" c="owner_document"/>
+ <method idl="insertBefore" c="insert_before"/>
+ <method idl="replaceChild" c="replace_child"/>
+ <method idl="removeChild" c="remove_child"/>
+ <method idl="appendChild" c="append_child"/>
+ <method idl="hasChildNodes" c="has_child_nodes"/>
+ <method idl="cloneNode" c="clone_node"/>
+ </type>
+ <type idl="Text" c="dom_text">
+ </type>
+</types> \ No newline at end of file