Top Description Fields Constructors Methods
org.antlr.tool

public Class GrammarReport2

extends Object
Class Inheritance

Simplifying report dramatically for LL(*) paper. Old results were wrong anyway it seems. We need: percent decisions that potentially backtrack histogram of regular lookahead depth (int k or *)

Field Summary

Modifier and TypeField and Description
public static final String
public Grammar

Constructor Summary

AccessConstructor and Description
public
GrammarReport2(Grammar rootGrammar)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

newlineback to summary
public static final String newline
rootback to summary
public Grammar root

Constructor Detail

GrammarReport2back to summary
public GrammarReport2(Grammar rootGrammar)

Method Detail

nlback to summary
pack-priv void nl(StringBuilder buf)
statsback to summary
pack-priv void stats(Grammar g, StringBuilder buf)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override