syntaxtree.pxd 399 Bytes
Newer Older
Eckhart Arnold's avatar
Eckhart Arnold committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#cython: infer_types=True
#cython: language_level=3
#cython: c_string_type=unicode
#cython: c_string_encoding=utf-8

import cython


# cdef class ParserBase:
#     cdef str name
#     cdef str ptype

# cdef class MockParser(ParserBase):
#     pass

# cdef class ZombieParser(MockParser):
#     pass 

# cdef class Node:
#    cdef int _pos
#    cdef int _len

# cdef class RootNode(Node):
#     pass