import { parseValue } from "https://deno.land/x/apex_core@v0.1.1/mod.ts";
Given a string containing a Apex value (ex. [42]
), parse the AST for
that value.
Throws ApexError if a syntax error is encountered.
This is useful within tools that operate upon Apex Values directly and in isolation of complete Apex documents.
Consider providing the results to the utility function: valueFromAST().
Parameters
optional
options: ParseOptions