Interface Dispatcher
-
- All Known Implementing Classes:
BiggestSubTreeDispatcher
public interface Dispatcher
An implementation of this interface is responsible for processing a tree of instruction nodes and resolving as many nodes as possible within one resolver.The actual algorithm to accomplish this task depends on the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolvingContext
processTree(Node rootNode, ResolvingContext actualContext, OptionRegistry<ResolvingOption> processingOptions)
process the tree, starting from the given node and resolve as many nodes as possible.
-
-
-
Method Detail
-
processTree
ResolvingContext processTree(Node rootNode, ResolvingContext actualContext, OptionRegistry<ResolvingOption> processingOptions)
process the tree, starting from the given node and resolve as many nodes as possible.- Parameters:
rootNode
- the node which shall be considered as root node of the tree to processactualContext
- the current state of the context, which can be used by resolvers to look up some values.processingOptions
-- Returns:
- a context which shall contain the resolved values.
-
-