[Groovy] Class ASTTransformationCustomizerFactory
- org.codehaus.groovy.control.customizers.builder.ASTTransformationCustomizerFactory
This factory generates an ast transformation customizer.
Simple syntax:
builder.ast(ToString)With AST transformation options:
builder.ast(includeNames:true, ToString)
- Since:
- 2.1.0
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
boolean |
isLeaf() | |
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes) | |
boolean |
onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class AbstractFactory | setParent, onNodeCompleted, onNodeChildren, setChild, isLeaf, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
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)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/control/customizers/builder/ASTTransformationCustomizerFactory.html