Package org.antlr.tool
Class GrammarReport
- java.lang.Object
-
- org.antlr.tool.GrammarReport
-
public class GrammarReport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Grammar
grammar
static String
GRAMMAR_STATS_FILENAME
static String
newline
static int
NUM_GRAMMAR_STATS
static String
Version
Because I may change the stats, I need to track that for later computations to be consistent.
-
Constructor Summary
Constructors Constructor Description GrammarReport(Grammar grammar)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String[]
decodeReportData(String data)
String
getAnalysisTimeoutReport()
String
getBacktrackingReport()
protected String
getDFALocations(Set dfas)
String
toNotifyString()
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.orgString
toString()
Given a stats line suitable for sending to the antlr.org site, return a human-readable version.static String
toString(String notifyDataLine)
-
-
-
Field Detail
-
Version
public static final String Version
Because I may change the stats, I need to track that for later computations to be consistent.- See Also:
- Constant Field Values
-
GRAMMAR_STATS_FILENAME
public static final String GRAMMAR_STATS_FILENAME
- See Also:
- Constant Field Values
-
NUM_GRAMMAR_STATS
public static final int NUM_GRAMMAR_STATS
- See Also:
- Constant Field Values
-
newline
public static final String newline
-
grammar
public Grammar grammar
-
-
Constructor Detail
-
GrammarReport
public GrammarReport(Grammar grammar)
-
-
Method Detail
-
toNotifyString
public String toNotifyString()
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.org
-
getBacktrackingReport
public String getBacktrackingReport()
-
getAnalysisTimeoutReport
public String getAnalysisTimeoutReport()
-
toString
public 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.
-
-