1
2cdef class Action:
3  cdef perform(self, token_stream, text)
4  cpdef same_as(self, other)
5
6cdef class Return(Action):
7  cdef object value
8  cdef perform(self, token_stream, text)
9  cpdef same_as(self, other)
10
11cdef class Call(Action):
12  cdef object function
13  cdef perform(self, token_stream, text)
14  cpdef same_as(self, other)
15
16cdef class Begin(Action):
17  cdef object state_name
18  cdef perform(self, token_stream, text)
19  cpdef same_as(self, other)
20
21cdef class Ignore(Action):
22  cdef perform(self, token_stream, text)
23
24cdef class Text(Action):
25  cdef perform(self, token_stream, text)
26