soml-parser/test/cases/class_definition/simplest_class.tst
2015-10-09 17:32:05 +03:00

10 lines
146 B
Scilab

class Foo
field int x
end
-- -- --
s(:statements,
s(:class, :Foo,
s(:derives, nil),
s(:statements,
s(:class_field, :int, :x))))