[Groovy] Class ASTTransformationCustomizerFactory
- org.codehaus.groovy.control.customizers.builder.ASTTransformationCustomizerFactory
class ASTTransformationCustomizerFactory extends AbstractFactory
This factory generates an ASTTransformationCustomizer.
Simple syntax:
builder.ast(ToString)With AST transformation options:
builder.ast(includeNames:true, ToString)
- Since:
- 2.1.0
Constructor Summary
Constructor and description |
---|
ASTTransformationCustomizerFactory
() |
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, isLeaf, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, setChild, onNodeChildren, onNodeCompleted, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Constructor Detail
ASTTransformationCustomizerFactory()
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/3.0.7/html/gapi/org/codehaus/groovy/control/customizers/builder/ASTTransformationCustomizerFactory.html