Documentation ¶
Overview ¶
Package compiler implements a compiler that converts Mixer's expression language into a Mixer IL-based program that can be executed via an interpreter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Program *il.Program Expression *expr.Expression }
Result is returned as the result of compilation.
func Compile ¶
func Compile(text string, finder expr.AttributeDescriptorFinder, functions map[string]expr.FunctionMetadata) (Result, error)
Compile converts the given expression text, into an IL based program.
Click to show internal directories.
Click to hide internal directories.