Class AmbiguityReport


  • public class AmbiguityReport
    extends java.lang.Object
    An ambiguity report.

    This is a report derived from the dk.brics.grammar ambiguity analyzer.

    • Method Detail

      • getReliable

        public boolean getReliable()
        Is the report reliable?

        Some grammars cannot be reliably analyzed.

        Returns:
        true if the report is reliable.
      • getUnambiguous

        public boolean getUnambiguous()
        Is the grammar unambiguous?
        Returns:
        True if the grammar is unambiguous.
      • getCheckSucceeded

        public boolean getCheckSucceeded()
        Did the check succeed?
        Returns:
        true if the check was successful.
      • getAmbiguityReport

        public java.lang.String getAmbiguityReport()
        Get the report.

        The report is the text output from the brics analyzer.

        Returns:
        The report.
      • check

        public void check()
        Run the checker.