• Create a parse tree of a message string. This method will call itself recursively if inside of a plugin content is detected. The recursive call will early exit as soon as a plugin content scope close is detected.

    Returns

    Parse tree of the message string.

    Parameters

    • messageString: string

      The input string.

    • strings: StringMap

      The global string dictonary for references.

    • pluginDepth: number = 0

      The depth of the plugin which is used for recursive calls.

    • earlyExitBecausePluginValue: boolean = false

      If true this means a call was made to parse a plugin value so a special early exit is necessary.

    • stringDepth: number = 0

      The depth of the current string reference to detect loops.

    • logger: Readonly<Logger>

      Global logger.

    Returns ParseTreeNode

Generated using TypeDoc