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

    Function parseNamePath

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

      Parameters

      • expression: string
      • mode: ParseMode
      • __namedParameters: { includeSpecial?: boolean; jsdocContext?: boolean } = {}
        • OptionalincludeSpecial?: boolean
        • OptionaljsdocContext?: boolean

          Indicates the name is being checked in a JSDoc tag context (e.g., @property), where, in TypeScript mode, unquoted hyphens are tolerated (as TypeScript intellisense does) rather than requiring quotes. Has no effect in other modes.

      Returns RootResult