程序包 org.antlr.tool

类 GrammarReport


  • public class GrammarReport
    extends java.lang.Object
    • 字段详细资料

      • Version

        public static final java.lang.String Version
        Because I may change the stats, I need to track version for later computations to be consistent.
        另请参阅:
        常量字段值
      • GRAMMAR_STATS_FILENAME

        public static final java.lang.String GRAMMAR_STATS_FILENAME
        另请参阅:
        常量字段值
      • newline

        public static final java.lang.String newline
    • 构造器详细资料

      • GrammarReport

        public GrammarReport​(Grammar grammar)
    • 方法详细资料

      • toNotifyString

        public java.lang.String toNotifyString()
        Create a single-line stats report about this grammar suitable to send to the notify page at antlr.org
      • getBacktrackingReport

        public java.lang.String getBacktrackingReport()
      • getDFALocations

        protected java.lang.String getDFALocations​(java.util.Set<DFA> dfas)
      • toString

        public java.lang.String toString()
        Given a stats line suitable for sending to the antlr.org site, return a human-readable version. Return null if there is a problem with the data.
        覆盖:
        toString 在类中 java.lang.Object
      • toString

        public static java.lang.String toString​(java.lang.String notifyDataLine)
      • blockHasSynPred

        public static boolean blockHasSynPred​(GrammarAST blockAST)