ts-graphviz
    Preparing search index...

    Interface ParseOptions<T>Beta

    ParseOptions interface is used to provide additional information to the parser while parsing a rule.

    interface ParseOptions<T extends Rule> {
        filename?: string;
        maxEdgeChainDepth?: number;
        maxHtmlNestingDepth?: number;
        startRule?: T;
    }

    Type Parameters

    • T extends Rule

      The type of the rule to be parsed.

    Hierarchy (View Summary)

    Index

    Properties

    filename?: string

    filename (optional): A string value that is used to identify the file to be parsed.

    maxEdgeChainDepth?: number

    maxEdgeChainDepth (optional): Maximum allowed depth for chained edges. Default is 1000. This limit prevents stack overflow attacks from deeply chained edge structures.

    1000
    
    maxHtmlNestingDepth?: number

    maxHtmlNestingDepth (optional): Maximum allowed nesting depth for HTML-like strings. Default is 100. This limit prevents stack overflow attacks from deeply nested HTML structures.

    100
    
    startRule?: T