fluent.js
    Preparing search index...

    Class FluentParser

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    withSpans: boolean

    Methods

    • Parse the first Message or Term in source.

      Skip all encountered comments and start parsing at the first Message or Term start. Return Junk if the parsing is not successful.

      Preceding comments are ignored unless they contain syntax errors themselves, in which case Junk for the invalid comment is returned.

      Parameters

      • source: string

      Returns Entry