Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

syntaxtree.pxd 1.38 KB
Newer Older
Eckhart Arnold's avatar
Eckhart Arnold committed
1
2
3
4
#cython: infer_types=True
#cython: language_level=3
#cython: c_string_type=unicode
#cython: c_string_encoding=utf-8
5
6
7
8
9
10
11
12
13
14


cdef class Node:
    cdef public int _pos
    cdef public object _result
    cdef public tuple children
    cdef public int _len
    cdef public str tag_name
    cdef object _xml_attr

Eckhart Arnold's avatar
Eckhart Arnold committed
15
16
    cpdef get(self,  index_or_tagname, surrogate)
    cpdef is_anonymous(self)
17
    cpdef _content(self)
Eckhart Arnold's avatar
Eckhart Arnold committed
18
    cpdef with_pos(self, pos)
Eckhart Arnold's avatar
Eckhart Arnold committed
19
20
21
22
23
24
25
26
27
28
29
30
    cpdef attr_active(self)
    # cpdef compare_attr(self, other)
    # cpdef _tree_repr(self, tab, open_fn, close_fn, data_fn, density, inline, inline_fn)
    # cpdef as_sxpr(self, src, indentation, compact)
    # cpdef as_xml(self, src, indentation, inline_tags, omit_tags, empty_tags)
    # cpdef select(self, match_function, include_root, reverse)
    # cpdef select_by_tag(self, tag_names, include_root)
    cpdef pick(self, tag_names)
    # cpdef tree_size(self)


cdef class FrozenNode(Node):
Eckhart Arnold's avatar
Eckhart Arnold committed
31
    cpdef with_pos(self, pos)
Eckhart Arnold's avatar
Eckhart Arnold committed
32
33


34
cdef class RootNode(Node):
Eckhart Arnold's avatar
Eckhart Arnold committed
35
    cdef public list errors
36
37
    cdef public object error_nodes
    cdef public object error_positions
38
39
40
41
    cdef public int error_flag
    cdef public set inline_tags
    cdef public set omit_tags
    cdef public set empty_tags
Eckhart Arnold's avatar
Eckhart Arnold committed
42
43
44
45
46
47

    # cpdef swallow(self, node)
    # cpdef add_error(self, node, error)
    # cpdef new_error(self, node, message, code)
    # cpdef get_errors(self, node)
    cpdef customized_XML(self)