OpenUI.Builtins (OpenUI v0.1.1)

Copy Markdown View Source

The names the language reserves for built-in functions and action steps (language.md, sections 1.3, 3.4 and 6.3).

Summary

Functions

True for a built-in function.

Built-in functions, called as @Name(...).

True for calls whose arguments are not evaluated up front: @Each runs its template per element, and @Run, @Set, @Reset and Action name their targets instead of evaluating them.

Every built-in call name, Action included.

True for a built-in step or Action.

Built-in action steps, called as @Name(...).

Functions

function?(name)

@spec function?(String.t()) :: boolean()

True for a built-in function.

functions()

@spec functions() :: [String.t()]

Built-in functions, called as @Name(...).

lazy?(name)

@spec lazy?(String.t()) :: boolean()

True for calls whose arguments are not evaluated up front: @Each runs its template per element, and @Run, @Set, @Reset and Action name their targets instead of evaluating them.

names()

@spec names() :: [String.t()]

Every built-in call name, Action included.

step?(name)

@spec step?(String.t()) :: boolean()

True for a built-in step or Action.

steps()

@spec steps() :: [String.t()]

Built-in action steps, called as @Name(...).