rubyx/lib/bosl/compiler/field_def.rb
Torsten Ruger c4f89441e2 cleaning
2015-09-27 11:27:30 +03:00

18 lines
315 B
Ruby

module Bosl
Compiler.class_eval do
def on_field_def expression
# puts expression.inspect
type , name , value = *expression
name = name
index = method.ensure_local( name )
if value
value = process( value )
end
Virtual::Return.new( value )
end
end
end