2015-09-18 20:55:02 +02:00
|
|
|
int foo( int n ,ref m)
|
2015-10-09 16:28:47 +02:00
|
|
|
return n
|
2015-09-18 20:55:02 +02:00
|
|
|
end
|
|
|
|
-- -- --
|
2015-10-09 16:28:47 +02:00
|
|
|
s(:statements,
|
2015-09-20 11:56:06 +02:00
|
|
|
s(:function, :int,
|
|
|
|
s(:name, :foo),
|
|
|
|
s(:parameters,
|
|
|
|
s(:parameter, :int, :n),
|
|
|
|
s(:parameter, :ref, :m)),
|
2015-10-09 16:28:47 +02:00
|
|
|
s(:statements,
|
|
|
|
s(:return,
|
|
|
|
s(:name, :n)))))
|