|
|
from __future__ import absolute_import |
|
|
|
|
|
import cython |
|
|
|
|
|
from ..Plex.Scanners cimport Scanner |
|
|
|
|
|
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__ |
|
|
|
|
|
|
|
|
|
|
|
@cython.final |
|
|
cdef class CompileTimeScope: |
|
|
cdef public dict entries |
|
|
cdef public CompileTimeScope outer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@cython.final |
|
|
cdef class PyrexScanner(Scanner): |
|
|
cdef public context |
|
|
cdef public list included_files |
|
|
cdef public CompileTimeScope compile_time_env |
|
|
cdef public bint compile_time_eval |
|
|
cdef public bint compile_time_expr |
|
|
cdef public bint parse_comments |
|
|
cdef public bint in_python_file |
|
|
cdef public source_encoding |
|
|
cdef set keywords |
|
|
cdef public list indentation_stack |
|
|
cdef public indentation_char |
|
|
cdef public int bracket_nesting_level |
|
|
cdef readonly bint async_enabled |
|
|
cdef public sy |
|
|
cdef public systring |
|
|
|
|
|
cdef long current_level(self) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@cython.locals(current_level=cython.long, new_level=cython.long) |
|
|
cpdef indentation_action(self, text) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|