soml-parser/test/cases/root/class_method.tst

22 lines
408 B
Scilab
Raw Normal View History

class FooBo
2015-10-09 16:32:34 +02:00
int main()
Bar.call(35)
end
end
-- -- --
2015-10-09 16:32:34 +02:00
s(:statements,
s(:class, :FooBo,
s(:derives, nil),
2015-10-09 16:32:34 +02:00
s(:statements,
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))))))))