add scope and kwbegin

scope is just a list of statements
This commit is contained in:
Torsten Ruger
2017-04-02 13:24:09 +03:00
parent 27e4e9f501
commit 539ab692a3
7 changed files with 50 additions and 3 deletions

12
lib/vool/variables.rb Normal file
View File

@ -0,0 +1,12 @@
module Vool
module Named
attr_accessor :name
def initialize name
@name = name
end
end
class LocalVariable < Statement
include Named
end
end