parseRuleSyntax
parseRuleSyntax(
syntax
,indexMap
,foreignCallNameToID
):RuleDefinition
Parses the rule syntax and converts it into an abstract syntax tree (AST) and instruction set.
Parameters
Parameter | Type | Description |
---|---|---|
syntax | ruleJSON | The JSON representation of the rule syntax. |
indexMap | trackerIndexNameMapping [] | A mapping of tracker IDs to their names and types. |
foreignCallNameToID | FCNameToID [] | - |
Returns
An object containing the instruction set, raw data, positive effects, negative effects, placeholders, and effect placeholders.