aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Compiler/Scanning.pxd
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/cython/Cython/Compiler/Scanning.pxd
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Compiler/Scanning.pxd')
-rw-r--r--contrib/tools/cython/Cython/Compiler/Scanning.pxd48
1 files changed, 24 insertions, 24 deletions
diff --git a/contrib/tools/cython/Cython/Compiler/Scanning.pxd b/contrib/tools/cython/Cython/Compiler/Scanning.pxd
index 8eba7f068e..59593f88a2 100644
--- a/contrib/tools/cython/Cython/Compiler/Scanning.pxd
+++ b/contrib/tools/cython/Cython/Compiler/Scanning.pxd
@@ -4,27 +4,27 @@ import cython
from ..Plex.Scanners cimport Scanner
-cdef unicode any_string_prefix, IDENT
-
-cdef get_lexicon()
-cdef initial_compile_time_env()
-
+cdef unicode any_string_prefix, IDENT
+
+cdef get_lexicon()
+cdef initial_compile_time_env()
+
cdef class Method:
cdef object name
- cdef dict kwargs
- cdef readonly object __name__ # for tracing the scanner
+ cdef dict kwargs
+ cdef readonly object __name__ # for tracing the scanner
+
+## methods commented with '##' out are used by Parsing.py when compiled.
-## methods commented with '##' out are used by Parsing.py when compiled.
-
-@cython.final
+@cython.final
cdef class CompileTimeScope:
cdef public dict entries
cdef public CompileTimeScope outer
- ##cdef declare(self, name, value)
- ##cdef lookup_here(self, name)
- ##cpdef lookup(self, name)
+ ##cdef declare(self, name, value)
+ ##cdef lookup_here(self, name)
+ ##cpdef lookup(self, name)
-@cython.final
+@cython.final
cdef class PyrexScanner(Scanner):
cdef public context
cdef public list included_files
@@ -53,15 +53,15 @@ cdef class PyrexScanner(Scanner):
@cython.locals(current_level=cython.long, new_level=cython.long)
cpdef indentation_action(self, text)
#cpdef eof_action(self, text)
- ##cdef next(self)
- ##cdef peek(self)
+ ##cdef next(self)
+ ##cdef peek(self)
#cpdef put_back(self, sy, systring)
#cdef unread(self, token, value)
- ##cdef bint expect(self, what, message = *) except -2
- ##cdef expect_keyword(self, what, message = *)
- ##cdef expected(self, what, message = *)
- ##cdef expect_indent(self)
- ##cdef expect_dedent(self)
- ##cdef expect_newline(self, message=*, bint ignore_semicolon=*)
- ##cdef int enter_async(self) except -1
- ##cdef int exit_async(self) except -1
+ ##cdef bint expect(self, what, message = *) except -2
+ ##cdef expect_keyword(self, what, message = *)
+ ##cdef expected(self, what, message = *)
+ ##cdef expect_indent(self)
+ ##cdef expect_dedent(self)
+ ##cdef expect_newline(self, message=*, bint ignore_semicolon=*)
+ ##cdef int enter_async(self) except -1
+ ##cdef int exit_async(self) except -1