Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/apex_core/parser.ts>parse

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

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