jsdoc-type-pratt-parser
    Preparing search index...

    Function parse

    • This function parses the given expression in the given mode and produces a RootResult.

      Parameters

      • expression: string
      • mode: ParseMode
      • __namedParameters: {
            asyncFunctionBody?: boolean;
            classContext?: boolean;
            computedPropertyParser?: (text: string, options?: any) => unknown;
            loc?: boolean;
            locStart?: { column: number; line: number };
            module?: boolean;
            range?: boolean;
            rangeStart?: number;
            strictMode?: boolean;
        } = {}

      Returns RootResult