Function extractAstNode

  • Reads the given file and extracts the root node of the parsed AST

    Returns

    the root node of the parsed AST

    Type Parameters

    • T extends AstNode

    Parameters

    • fileName: string

      the file name to load

    • services: LangiumServices

      instantiated service pack to get necessary services from

    Returns Promise<T>

Generated using TypeDoc