Module liva_parser::statement::declaration::function [−][src]
Expand description
Functions are declared with the fun
keyword, followed by the
name of the function. The naming convention follows variables
names.
Function can accept multiple arguments. A function ends with
the end
keyword.
fun foo(arg1, arg2)
return arg1 + arg2
end
Structs
Represents a function declaration.
Functions
Parses a function declaration.