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