public class VariableAccumulator
extends java.lang.Object
ExecutableNormalizedOperationToAstCompiler
then uses all the variables when it compiles the final document.Constructor and Description |
---|
VariableAccumulator(@Nullable VariablePredicate variablePredicate) |
Modifier and Type | Method and Description |
---|---|
VariableValueWithDefinition |
accumulateVariable(NormalizedInputValue normalizedInputValue) |
int |
getAccumulatedSize() |
java.util.List<VariableDefinition> |
getVariableDefinitions() |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesMap() |
boolean |
shouldMakeVariable(ExecutableNormalizedField executableNormalizedField,
java.lang.String argName,
NormalizedInputValue normalizedInputValue) |
public VariableAccumulator(@Nullable @Nullable VariablePredicate variablePredicate)
public boolean shouldMakeVariable(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, NormalizedInputValue normalizedInputValue)
public VariableValueWithDefinition accumulateVariable(NormalizedInputValue normalizedInputValue)
public int getAccumulatedSize()
public java.util.List<VariableDefinition> getVariableDefinitions()
public java.util.Map<java.lang.String,java.lang.Object> getVariablesMap()