MFML - v0.0.4
    Preparing search index...

    Interface Parser

    Parses text message to an AST.

    interface Parser {
        parse(locale: string, text: string): MessageNode;
    }
    Index

    Methods

    Methods

    • Parses text message to an AST.

      Parameters

      • locale: string

        The message locale.

      • text: string

        The message text to parse.

      Returns MessageNode

      The message node that describes the message contents.