2017-01-14 18:28:44 +01:00
|
|
|
module Vm
|
2016-12-09 13:04:06 +01:00
|
|
|
module Tree
|
|
|
|
class FieldAccess < Expression
|
|
|
|
attr_accessor :receiver , :field
|
2016-12-23 20:31:31 +01:00
|
|
|
def to_s
|
|
|
|
"#{receiver}.#{field}"
|
|
|
|
end
|
2016-12-09 13:04:06 +01:00
|
|
|
end
|
2016-12-08 18:38:50 +01:00
|
|
|
end
|
|
|
|
end
|