Amplication AST Libraries Documentation
    interface Args {
        references: ClassReference[];
        startFileBlocks?: CodeBlock[];
        builderServicesBlocks: CodeBlock[];
        appBlocks: CodeBlock[];
        catchBlocks?: CodeBlock[];
        finallyBlocks?: CodeBlock[];
        endFileBlocks?: CodeBlock[];
    }
    Index

    Properties

    references: ClassReference[]

    The class references used in the program

    startFileBlocks?: CodeBlock[]

    Code blocks to be written at the start of the file

    builderServicesBlocks: CodeBlock[]

    Code blocks for builder services configuration

    appBlocks: CodeBlock[]

    Code blocks for the main application logic

    catchBlocks?: CodeBlock[]

    Code blocks for catch clauses in try-catch blocks

    finallyBlocks?: CodeBlock[]

    Code blocks for finally clauses in try-finally blocks

    endFileBlocks?: CodeBlock[]

    Code blocks to be written at the end of the file

    MMNEPVFCICPMFPCPTTAAATR