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

12 lines
200 B
Scilab
Raw Normal View History

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