add module names and instance variables as parse rules

This commit is contained in:
Torsten Ruger
2014-05-30 12:06:42 +03:00
parent 3e93517986
commit f03d445f3d
4 changed files with 42 additions and 1 deletions

View File

@ -42,6 +42,11 @@ module Ast
end
end
class VariableExpression < NameExpression
end
class ModuleName < NameExpression
end
class StringExpression < Expression
attr_reader :string
def initialize str