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