@wp-blocks/make-pot
    Preparing search index...

    Function doTree

    • Parses the source code using the specified language parser and extracts the strings from the file.

      Parameters

      • sourceCode: string

        The source code to be parsed.

      • filepath: string

        The path to the file being parsed.

      • OptionaldebugEnabled: boolean

        Whether debug mode is enabled.

      • Optionalargs: Args

        The command line arguments, optional.

      Returns SetOfBlocks

      An array of translation strings.