Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCalls ¶
ValidateCalls walks the AST and checks that every function call refers to a function that exists in the registry. This is a lightweight static check - argument types are validated at runtime
The walk also prepares nodes in place, so it must run before the program is evaluated: regex literals are compiled, timestamp literals are parsed, and constant sub-expressions are folded into core.ConstExpr (see fold.go).
Types ¶
Click to show internal directories.
Click to hide internal directories.