public class HandlerFactory extends Object
Constructor and Description |
---|
HandlerFactory()
Creates a HandlerFactory.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getHandledTypes()
Gets list of registered handler types.
|
ExpressionHandler |
getHandler(IndentationCheck aIndentCheck,
DetailAST aAst,
ExpressionHandler aParent)
Get the handler for an AST.
|
boolean |
isHandledType(int aType)
Returns true if this type (form TokenTypes) is handled.
|
public HandlerFactory()
public boolean isHandledType(int aType)
aType
- type from TokenTypespublic int[] getHandledTypes()
public ExpressionHandler getHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck
- the indentation checkaAst
- ast to handleaParent
- the handler parent of this ASTCopyright © 2001–2014. All rights reserved.