standalone function. These functions, similar to static functions, are referenced in Budgie code as members of some standalone container, which becomes a static class in static languages but goes away in dynamic languages.
standalone functions declare starttakes a single parameter as the name of the group in PascalCase, which will become the class name in static languages.
exportkeyword before the name of the group to indicate the group being available to import in other files.
standalone functions declare endcloses the group and takes no parameters.
standalone function declare starttakes in either
privateto indicate its availability outside of the group, the function name in PascalCase, return type, and any number of (name, type) pairs of parameters.
standalone function declare endcloses a function and takes no parameters.
standalone functiontakes in the name of the group in PascalCase, the privacy of the command, the name of the method in PascalCase, then any parameters.
import standalone functionscommand must be used after the
usein import declarations. Different languages will import either the container group (static class) or individual functions. It takes in the name of the group in PascalCase followed by any number of standalone function names in PascalCase to import.