diff options
author | James Shaw <jshaw@netsurf-browser.org> | 2007-07-22 11:54:12 +0000 |
---|---|---|
committer | James Shaw <jshaw@netsurf-browser.org> | 2007-07-22 11:54:12 +0000 |
commit | 7058941415d9a2a8c0e3da3c93c0a833f53eef1f (patch) | |
tree | 0f927d52cb8a12bc93ac25663f8a6376d8711624 /test/transform/ctypes.xml | |
parent | e71238204d5894663b2fbc9c4554cc949f715dd9 (diff) | |
download | libdom-7058941415d9a2a8c0e3da3c93c0a833f53eef1f.tar.gz libdom-7058941415d9a2a8c0e3da3c93c0a833f53eef1f.tar.bz2 |
Rewritten produce-specific-attribute to handle casts properly. IDL to C names are now held in ctypes.xml. produce-specific-method and <assertEquals> are not yet reimplemented.
svn path=/trunk/dom/; revision=3457
Diffstat (limited to 'test/transform/ctypes.xml')
-rw-r--r-- | test/transform/ctypes.xml | 56 |
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 |