Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
d2fe7355
Commit
d2fe7355
authored
Nov 11, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
declare purely internal methods of Scanner class as 'cdef'
parent
cbc4cccc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Cython/Plex/Scanners.pxd
Cython/Plex/Scanners.pxd
+2
-3
No files found.
Cython/Plex/Scanners.pxd
View file @
d2fe7355
...
...
@@ -26,16 +26,15 @@ cdef class Scanner:
@
cython
.
locals
(
input_state
=
long
)
cpdef
next_char
(
self
)
@
cython
.
locals
(
queue
=
list
)
cpdef
tuple
read
(
self
)
c
p
def
tuple
scan_a_token
(
self
)
cdef
tuple
scan_a_token
(
self
)
cpdef
tuple
position
(
self
)
@
cython
.
locals
(
cur_pos
=
long
,
cur_line
=
long
,
cur_line_start
=
long
,
input_state
=
long
,
next_pos
=
long
,
state
=
dict
,
buf_start_pos
=
long
,
buf_len
=
long
,
buf_index
=
long
,
trace
=
bint
,
discard
=
long
,
data
=
unicode
,
buffer
=
unicode
)
c
p
def
run_machine_inlined
(
self
)
cdef
run_machine_inlined
(
self
)
cpdef
begin
(
self
,
state
)
cpdef
produce
(
self
,
value
,
text
=
*
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment