com.puppycrawl.tools.checkstyle.gui
Class ParseTreeInfoPanel
JPanel
com.puppycrawl.tools.checkstyle.gui.ParseTreeInfoPanel
public class ParseTreeInfoPanel
extends JPanel
Displays information about a parse tree.
The user can change the file that is parsed and displayed
through a JFileChooser.
ParseTreeInfoPanel
public ParseTreeInfoPanel()
Create a new ParseTreeInfoPanel instance.
openFile
public void openFile(File aFile,
Component aParent)
parseFile
public static DetailAST parseFile(String aFileName)
throws IOException,
ANTLRException
Parses a file and returns the parse tree.
aFileName
- the file to parse
- the root node of the parse tree