Skip to main content
Module

x/apex_core/index.ts>apex.parse

JavaScript / Node.js support for the Apex language
Go to Latest
function apex.parse
import { apex } from "https://deno.land/x/apex_core@v0.1.4/index.ts";
const { parse } = apex;

Given a Apex source, parses it into a Document. Throws ApexError if a syntax error is encountered.

Parameters

source: string
optional
resolver: Resolver
optional
options: ParseOptions

Returns

Document