soml-parser/test/cases/root/class_method.tst
2015-10-09 17:32:34 +03:00

22 lines
404 B
Scilab

class FooBo
int main()
Bar.call(35)
end
end
-- -- --
s(:statements,
s(:class, :FooBo,
s(:derives, nil),
s(:statements,
s(:function, :int,
s(:name, :main),
s(:parameters),
s(:statements,
s(:call,
s(:name, :call),
s(:arguments,
s(:int, 35)),
s(:receiver,
s(:class_name, :Bar))))))))