soml-parser/test/cases/class_definition/class_method.tst
2015-10-09 17:21:15 +03:00

16 lines
263 B
Scilab

class Foo < Object
int test()
43
end
end
-- -- --
s(:expressions,
s(:class, :Foo,
s(:derives, :Object),
s(:expressions,
s(:function, :int,
s(:name, :test),
s(:parameters),
s(:expressions,
s(:int, 43))))))