public class GrammarReport extends Object
Modifier and Type | Field and 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 and Description |
---|
GrammarReport(Grammar grammar) |
Modifier and Type | Method and 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.org
|
String |
toString()
Given a stats line suitable for sending to the antlr.org site,
return a human-readable version.
|
static String |
toString(String notifyDataLine) |
public static final String Version
public static final String GRAMMAR_STATS_FILENAME
public static final int NUM_GRAMMAR_STATS
public static final String newline
public Grammar grammar
public GrammarReport(Grammar grammar)
public String toNotifyString()
public String getBacktrackingReport()
public String getAnalysisTimeoutReport()
public String toString()
Copyright © 2020. All rights reserved.