public interface InlineNode extends RootNode
RootNode
,
whose AST statements are understood as pattern statements.
For example CtForEach statement is handled as repeated generation of pattern
Or CtIf statement is handled as optionally generated patternMATCH_ALL, MATCH_PART
Modifier and Type | Method and Description |
---|---|
<T> void |
generateInlineTargets(DefaultGenerator generator,
ResultHolder<T> result,
ImmutableMap parameters)
Generates inline statements of this inline
RootNode . |
forEachParameterInfo, generateTargets, isSimplifyGenerated, matchAllWith, matchTargets, replaceNode, setSimplifyGenerated
<T> void generateInlineTargets(DefaultGenerator generator, ResultHolder<T> result, ImmutableMap parameters)
RootNode
.
This method is used when sources of pattern have to be printedgenerator
- a to be used Generator
result
- holder of the resultparameters
- a ImmutableMap
with current parametersCopyright © 2007–2021 Inria. All rights reserved.