Search Results for

    Show / Hide Table of Contents

    TASTDocumentHelper.Parse Method

    Creates a new AST document from a GraphQL document.

    Syntax

    Unit: GraphQL.Helpers

    class function TASTDocumentHelper.Parse(const Document: string): TASTDocument;

    Parameters

    <-> Parameter Type Description
    const Document string The GraphQL document to be parsed.

    Returns

    If the parsing succeeds, a new AST document instance is created, and returned. The AST document will hold the abstract syntax tree representation of the parsed document elements. It's up to the caller to destroy the returned instance.

    See also

    • TASTDocumentHelper
    In This Article
    Back to top GraphQL for Delphi v1.4
    © 2021 - 2024 tmssoftware.com