@huukhanhnguyen/model / lanes/textures/formula
lanes/textures/formula
compileAst()
compileAst(
ast,params):Formula
AST-level form of compileFormula — lets evalValueArg compile a NESTED non-literal (an array element like [1, tilt, 2]) without re-parsing the whole input string as one formula.
Parameters
ast
params
Record<string, number>
Returns
compileFormula()
compileFormula(
source,params):Formula
Parameters
source
string
params
Record<string, number>