public class VariableScopeFunction extends java.lang.Object implements CtConsumableFunction<CtVariable<?>>
CtVariable
Modifier and Type | Class and Description |
---|---|
protected class |
VariableScopeFunction.Visitor |
Modifier and Type | Field and Description |
---|---|
protected CtConsumer<java.lang.Object> |
outputConsumer |
protected VariableScopeFunction.Visitor |
visitor |
Constructor and Description |
---|
VariableScopeFunction() |
Modifier and Type | Method and Description |
---|---|
void |
apply(CtVariable<?> variable,
CtConsumer<java.lang.Object> outputConsumer)
Evaluates the function on the given input.
|
protected final VariableScopeFunction.Visitor visitor
protected CtConsumer<java.lang.Object> outputConsumer
public void apply(CtVariable<?> variable, CtConsumer<java.lang.Object> outputConsumer)
CtConsumableFunction
apply
in interface CtConsumableFunction<CtVariable<?>>
variable
- the input of the functionoutputConsumer
- the consumer which accepts the results of this function.Copyright © 2007–2021 Inria. All rights reserved.