nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pep8analysis: remove old-style accessors in the AST
[nit.git]
/
contrib
/
pep8analysis
/
src
/
parser
/
parser.nit
diff --git
a/contrib/pep8analysis/src/parser/parser.nit
b/contrib/pep8analysis/src/parser/parser.nit
index
3e57cee
..
1c6b68f
100644
(file)
--- a/
contrib/pep8analysis/src/parser/parser.nit
+++ b/
contrib/pep8analysis/src/parser/parser.nit
@@
-8,15
+8,15
@@
import tables
# State of the parser automata as stored in the parser stack.
private class State
# The internal state number
# State of the parser automata as stored in the parser stack.
private class State
# The internal state number
- readable writable var _state: Int
+ var state: Int
# The node stored with the state in the stack
# The node stored with the state in the stack
- readable writable var _nodes: nullable Object
+ var nodes: nullable Object
init(state: Int, nodes: nullable Object)
do
init(state: Int, nodes: nullable Object)
do
- _state = state
- _nodes = nodes
+ self.state = state
+ self.nodes = nodes
end
end
end
end