parseTrackerSyntax(Defined in: src/parsing/parser.ts:299 Parses the tracker syntax and validates its type and default value.syntax
):TrackerDefinition
Parameters
Parameter | Type | Description |
---|---|---|
syntax | TrackerJSON | The JSON representation of the tracker syntax. |
Returns
TrackerDefinition
Either an object containing the tracker’s name, type, and encoded default value if successful or an error