summaryrefslogtreecommitdiff
path: root/Cython/Plex/Actions.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Plex/Actions.pxd')
-rw-r--r--Cython/Plex/Actions.pxd27
1 files changed, 14 insertions, 13 deletions
diff --git a/Cython/Plex/Actions.pxd b/Cython/Plex/Actions.pxd
index 34660a2d9..cd884ced8 100644
--- a/Cython/Plex/Actions.pxd
+++ b/Cython/Plex/Actions.pxd
@@ -1,25 +1,26 @@
+# cython: language_level=3
cdef class Action:
- cdef perform(self, token_stream, text)
- cpdef same_as(self, other)
+ cdef perform(self, token_stream, text)
cdef class Return(Action):
- cdef object value
- cdef perform(self, token_stream, text)
- cpdef same_as(self, other)
+ cdef object value
+ cdef perform(self, token_stream, text)
cdef class Call(Action):
- cdef object function
- cdef perform(self, token_stream, text)
- cpdef same_as(self, other)
+ cdef object function
+ cdef perform(self, token_stream, text)
+
+cdef class Method(Action):
+ cdef str name
+ cdef dict kwargs
cdef class Begin(Action):
- cdef object state_name
- cdef perform(self, token_stream, text)
- cpdef same_as(self, other)
+ cdef object state_name
+ cdef perform(self, token_stream, text)
cdef class Ignore(Action):
- cdef perform(self, token_stream, text)
+ cdef perform(self, token_stream, text)
cdef class Text(Action):
- cdef perform(self, token_stream, text)
+ cdef perform(self, token_stream, text)