soml-parser/test/cases/function_definition/class_function.tst

12 lines
207 B
Scilab

int length( ref x )
length
end
-- -- --
s(:expressions,
s(:function, :int,
s(:name, :length),
s(:parameters,
s(:field, :ref, :x)),
s(:expressions,
s(:name, :length))))