com.puppycrawl.tools.checkstyle.gui
public class ParseTreeInfoPanel extends JPanel
Constructor Summary | |
---|---|
ParseTreeInfoPanel()
Create a new ParseTreeInfoPanel instance. |
Method Summary | |
---|---|
void | openFile(File aFile, Component aParent) |
static DetailAST | parseFile(String aFileName)
Parses a file and returns the parse tree. |
Parameters: aFileName the file to parse
Returns: the root node of the parse tree
Throws: IOException if the file cannot be opened ANTLRException if the file is not a Java source