Package org.antlr.tool
Class GrammarReport
java.lang.Object
org.antlr.tool.GrammarReport
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
blockHasSynPred
(GrammarAST blockAST) protected static GrammarReport.ReportData
decodeReportData
(String dataS) protected String
getDFALocations
(Set<DFA> dfas) static GrammarReport.ReportData
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.orgtoString()
Given a stats line suitable for sending to the antlr.org site, return a human-readable version.static String
-
Field Details
-
Version
Because I may change the stats, I need to track version for later computations to be consistent.- See Also:
-
GRAMMAR_STATS_FILENAME
- See Also:
-
newline
-
grammar
-
-
Constructor Details
-
GrammarReport
-
-
Method Details
-
getReportData
-
toNotifyString
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.org -
getBacktrackingReport
-
getDFALocations
-
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. -
decodeReportData
-
toString
-
blockHasSynPred
-