2015-09-18 20:55:02 +02:00
|
|
|
class Foo < Object
|
2015-09-19 13:53:30 +02:00
|
|
|
int test()
|
2015-09-18 20:55:02 +02:00
|
|
|
43
|
|
|
|
end
|
|
|
|
end
|
|
|
|
-- -- --
|
2015-09-19 13:53:30 +02:00
|
|
|
s(:expressions,
|
2015-09-20 15:03:27 +02:00
|
|
|
s(:class, :Foo,
|
|
|
|
s(:derives, :Object),
|
|
|
|
s(:expressions,
|
|
|
|
s(:function, :int,
|
|
|
|
s(:name, :test),
|
|
|
|
s(:parameters),
|
|
|
|
s(:expressions,
|
|
|
|
s(:int, 43))))))
|