parseTrackerSyntax(syntax): TrackerDefinition
Defined in: src/parsing/parser.ts:299 Parses the tracker syntax and validates its type and default value.

Parameters

ParameterTypeDescription
syntaxTrackerJSONThe 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