3 from Cython.Plex.Actions cimport Action
10 cdef public unicode buffer
11 cdef public Py_ssize_t buf_start_pos
12 cdef public Py_ssize_t next_pos
13 cdef public Py_ssize_t cur_pos
14 cdef public Py_ssize_t cur_line
15 cdef public Py_ssize_t cur_line_start
16 cdef public Py_ssize_t start_pos
17 cdef public Py_ssize_t start_line
18 cdef public Py_ssize_t start_col
20 cdef public initial_state # int?
21 cdef public state_name
22 cdef public list queue
23 cdef public bint trace
25 cdef public int input_state
29 @cython.locals(input_state=long)
31 @cython.locals(action=Action)
33 cdef tuple scan_a_token(self)
34 cdef tuple position(self)
36 @cython.locals(cur_pos=long, cur_line=long, cur_line_start=long,
37 input_state=long, next_pos=long, state=dict,
38 buf_start_pos=long, buf_len=long, buf_index=long,
39 trace=bint, discard=long, data=unicode, buffer=unicode)
40 cdef run_machine_inlined(self)
42 cdef begin(self, state)
43 cdef produce(self, value, text = *)