|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ api overview ] | PREV NEXT | ||||||||
Uses of Class
com.puppycrawl.tools.checkstyle.api.DetailAST
| Uses of DetailAST in com.puppycrawl.tools.checkstyle.api |
| Fields in com.puppycrawl.tools.checkstyle.api declared as DetailAST | |
private DetailAST |
DetailAST.mParent
the parent token |
| Methods in com.puppycrawl.tools.checkstyle.api that return DetailAST | |
DetailAST |
DetailAST.getParent()
Returns the parent token. |
DetailAST |
DetailAST.getLastChild()
|
DetailAST |
DetailAST.getPreviousSibling()
Returns the previous sibling or null if no such sibling exists. |
DetailAST |
DetailAST.findFirstToken(int aType)
Returns the first child token that makes a specified type. |
| Methods in com.puppycrawl.tools.checkstyle.api with parameters of type DetailAST | |
static Scope |
ScopeUtils.getScopeFromMods(DetailAST aMods)
Returns the Scope specified by the modifier set. |
static Scope |
ScopeUtils.getSurroundingScope(DetailAST aAST)
Returns the scope of the surrounding "block". |
static boolean |
ScopeUtils.inInterfaceBlock(DetailAST aAST)
Returns whether a node is directly contained within an interface block. |
static boolean |
ScopeUtils.inCodeBlock(DetailAST aAST)
Returns whether the scope of a node is restricted to a code block. |
static boolean |
ScopeUtils.isOuterMostType(DetailAST aAST)
Returns whether a node is contained in the outer most type block. |
static boolean |
ScopeUtils.isLocalVariableDef(DetailAST aAST)
Determines whether a node is a local variable definition. |
private void |
FullIdent.append(DetailAST aAST)
Append the specified token and also recalibrate the first line and column. |
static FullIdent |
FullIdent.createFullIdent(DetailAST aAST)
Creates a new FullIdent starting from the specified node. |
static FullIdent |
FullIdent.createFullIdentBelow(DetailAST aAST)
Creates a new FullIdent starting from the child of the specified node. |
private static void |
FullIdent.extractFullIdent(FullIdent aFull,
DetailAST aAST)
Recursively extract a FullIdent. |
(package private) void |
DetailAST.setParent(DetailAST aParent)
Set the parent token. |
void |
Check.beginTree(DetailAST aRootAST)
Called before the starting to process a tree. |
void |
Check.finishTree(DetailAST aRootAST)
Called after finished processing a tree. |
void |
Check.visitToken(DetailAST aAST)
Called to process a token. |
void |
Check.leaveToken(DetailAST aAST)
Called after all the child nodes have been process. |
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ api overview ] | PREV NEXT | ||||||||