Package | Description |
---|---|
com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
Modifier and Type | Method and Description |
---|---|
static TreeWalker.AstState |
TreeWalker.AstState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeWalker.AstState[] |
TreeWalker.AstState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<AbstractCheck> |
TreeWalker.getListOfChecks(DetailAST ast,
TreeWalker.AstState astState)
Method returns list of checks.
|
private void |
TreeWalker.notifyBegin(DetailAST rootAST,
FileContents contents,
TreeWalker.AstState astState)
Notify checks that we are about to begin walking a tree.
|
private void |
TreeWalker.notifyEnd(DetailAST rootAST,
TreeWalker.AstState astState)
Notify checks that we have finished walking a tree.
|
private void |
TreeWalker.notifyLeave(DetailAST ast,
TreeWalker.AstState astState)
Notify checks that leaving a node.
|
private void |
TreeWalker.notifyVisit(DetailAST ast,
TreeWalker.AstState astState)
Notify checks that visiting a node.
|
private void |
TreeWalker.processIter(DetailAST root,
TreeWalker.AstState astState)
Processes a node calling interested checks at each node.
|
private void |
TreeWalker.walk(DetailAST ast,
FileContents contents,
TreeWalker.AstState astState)
Initiates the walk of an AST.
|