|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.util.AbstractFactory org.codehaus.groovy.control.customizers.builder.ASTTransformationCustomizerFactory
class ASTTransformationCustomizerFactory extends AbstractFactory
This factory generates an ast transformation customizer.
Simple syntax:
builder.ast(ToString)With AST transformation options:
builder.ast(includeNames:true, ToString)
Method Summary | |
---|---|
boolean
|
isLeaf()
|
Object
|
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)
|
boolean
|
onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)
|
Methods inherited from class AbstractFactory | |
---|---|
isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, onNodeCompleted, setChild, setParent, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
@Override @CompileStatic boolean isLeaf()
@Override Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)
@Override @CompileStatic boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes)
Copyright © 2003-2013 The Codehaus. All rights reserved.