程序包 org.antlr.tool
类 GrammarReport
- java.lang.Object
-
- org.antlr.tool.GrammarReport
-
public class GrammarReport extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
GrammarReport.ReportData
-
字段概要
字段 修饰符和类型 字段 说明 Grammar
grammar
static java.lang.String
GRAMMAR_STATS_FILENAME
static java.lang.String
newline
static java.lang.String
Version
Because I may change the stats, I need to track version for later computations to be consistent.
-
构造器概要
构造器 构造器 说明 GrammarReport(Grammar grammar)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static boolean
blockHasSynPred(GrammarAST blockAST)
protected static GrammarReport.ReportData
decodeReportData(java.lang.String dataS)
java.lang.String
getBacktrackingReport()
protected java.lang.String
getDFALocations(java.util.Set<DFA> dfas)
static GrammarReport.ReportData
getReportData(Grammar g)
java.lang.String
toNotifyString()
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.orgjava.lang.String
toString()
Given a stats line suitable for sending to the antlr.org site, return a human-readable version.static java.lang.String
toString(java.lang.String notifyDataLine)
-
-
-
字段详细资料
-
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
-
grammar
public Grammar grammar
-
-
构造器详细资料
-
GrammarReport
public GrammarReport(Grammar grammar)
-
-
方法详细资料
-
getReportData
public static GrammarReport.ReportData getReportData(Grammar g)
-
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
-
decodeReportData
protected static GrammarReport.ReportData decodeReportData(java.lang.String dataS)
-
toString
public static java.lang.String toString(java.lang.String notifyDataLine)
-
blockHasSynPred
public static boolean blockHasSynPred(GrammarAST blockAST)
-
-