summaryrefslogtreecommitdiff
path: root/src/lxml/sax.pxd
blob: b1b7d2ad39679287a8500429b39bb5922ddf0eb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# cython: language_level=2

cimport cython

cdef tuple _getNsTag(tag)

cdef class ElementTreeProducer:
    cdef _element
    cdef _content_handler
    cdef _attr_class
    cdef _empty_attributes

    @cython.locals(element_nsmap=dict)
    cdef inline _recursive_saxify(self, element, dict parent_nsmap)

    cdef inline _build_qname(self, ns_uri, local_name, dict nsmap, preferred_prefix, bint is_attribute)