2015-09-18 20:55:02 +02:00
|
|
|
class FooBo
|
2015-10-09 16:32:34 +02:00
|
|
|
int main()
|
|
|
|
Bar.call(35)
|
|
|
|
end
|
2015-09-18 20:55:02 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
-- -- --
|
2015-10-09 16:32:34 +02:00
|
|
|
s(:statements,
|
2015-09-20 15:03:27 +02:00
|
|
|
s(:class, :FooBo,
|
|
|
|
s(:derives, nil),
|
2015-10-09 16:32:34 +02:00
|
|
|
s(:statements,
|
2015-10-14 14:48:53 +02:00
|
|
|
s(:function, :Integer,
|
2015-10-09 16:32:34 +02:00
|
|
|
s(:name, :main),
|
|
|
|
s(:parameters),
|
|
|
|
s(:statements,
|
|
|
|
s(:call,
|
|
|
|
s(:name, :call),
|
|
|
|
s(:arguments,
|
|
|
|
s(:int, 35)),
|
|
|
|
s(:receiver,
|
|
|
|
s(:class_name, :Bar))))))))
|