org.antlr.tool
Class GrammarReport

java.lang.Object
  extended by org.antlr.tool.GrammarReport

public class GrammarReport
extends java.lang.Object


Field Summary
 Grammar grammar
           
static java.lang.String GRAMMAR_STATS_FILENAME
           
static java.lang.String newline
           
static int NUM_GRAMMAR_STATS
           
static java.lang.String Version
          Because I may change the stats, I need to track that for later computations to be consistent.
 
Constructor Summary
GrammarReport(Grammar grammar)
           
 
Method Summary
protected static java.lang.String[] decodeReportData(java.lang.String data)
           
 java.lang.String getAnalysisTimeoutReport()
           
 java.lang.String getBacktrackingReport()
           
protected  java.lang.String getDFALocations(java.util.Set dfas)
           
 java.lang.String toNotifyString()
          Create a single-line stats report about this grammar suitable to send to the notify page at antlr.org
 java.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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Version

public static final java.lang.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 java.lang.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 java.lang.String newline

grammar

public Grammar grammar
Constructor Detail

GrammarReport

public GrammarReport(Grammar grammar)
Method Detail

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()

getAnalysisTimeoutReport

public java.lang.String getAnalysisTimeoutReport()

getDFALocations

protected java.lang.String getDFALocations(java.util.Set 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.

Overrides:
toString in class java.lang.Object

decodeReportData

protected static java.lang.String[] decodeReportData(java.lang.String data)

toString

public static java.lang.String toString(java.lang.String notifyDataLine)


Copyright © 2011. All Rights Reserved.