nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: update most tools to new constructors
[nit.git]
/
src
/
literal.nit
diff --git
a/src/literal.nit
b/src/literal.nit
index
0395299
..
e39409f
100644
(file)
--- a/
src/literal.nit
+++ b/
src/literal.nit
@@
-17,8
+17,6
@@
# Parsing of literal values in the abstract syntax tree.
module literal
# Parsing of literal values in the abstract syntax tree.
module literal
-import parser
-import toolcontext
import phase
redef class ToolContext
import phase
redef class ToolContext
@@
-46,11
+44,6
@@
private class LiteralVisitor
var toolcontext: ToolContext
var toolcontext: ToolContext
- init(toolcontext: ToolContext)
- do
- self.toolcontext = toolcontext
- end
-
redef fun visit(n)
do
n.accept_literal(self)
redef fun visit(n)
do
n.accept_literal(self)