Function dumpTree

  • Displays information about the parsed AST ontology to a file at destination.

    Returns

    the file path to the generated output file

    Parameters

    • ontology: Ontology

      a valid AST containing an OML Ontology

    • filePath: string

      the name of the source file this ontology was parsed from

    • destination: undefined | string

      the file name to print the generated dump. If undefined, the "generated/" subdirectory of filePath is used.

    Returns string

Generated using TypeDoc