zwischenstopp

This commit is contained in:
Torsten Ruger
2014-07-01 18:58:25 +03:00
parent 7045a4b256
commit f74999af57
6 changed files with 25 additions and 39 deletions

View File

@ -28,11 +28,9 @@ module Ast
class NameExpression < Expression
# attr_reader :name
# compiling a variable resolves it. if it wasn't defined, raise an exception
# compiling a variable resolves it. If it's not defined look call it as a menthod (which may raise NoMethodFound)
def compile frame
# either a variable or needs to be called.
frame.get(name)
# frame.send name
end
end