| javax.swing.JPanel com.puppycrawl.tools.checkstyle.gui.ParseTreeInfoPanel
ParseTreeInfoPanel | public class ParseTreeInfoPanel extends JPanel (Code) | | Displays information about a parse tree.
The user can change the file that is parsed and displayed
through a JFileChooser.
author: Lars Kühne |
ParseTreeInfoPanel | public ParseTreeInfoPanel()(Code) | | Create a new ParseTreeInfoPanel instance.
|
parseFile | public static DetailAST parseFile(String aFileName) throws IOException, ANTLRException(Code) | | Parses a file and returns the parse tree.
Parameters: aFileName - the file to parse the root node of the parse tree throws: IOException - if the file cannot be opened throws: ANTLRException - if the file is not a Java source |
|
|