processing_tree library

Library for creating static trees of execution.

This library was proposed to create static template of some algorithm which can be build in runtime. For example building UI widget tree using xml data as a description of such process. Execution of whole tree should be considered as a synchronous operation, all input data which will be processed should be already gathered.

Classes

BuildCoordinator
More advanced interface than DelegateProvider to return information about folding tree nodes.
BuildPhaseState
KeyValue
ParsedItem
StackedTreeBuilder
Builds processing tree in stack like manner
TreeBuilder
Generic processing tree builder.
TreeProcessor
Interface which allows execution of processing tree.
XmlTreeBuilder

Enums

Action
Informs caller of next action which should take place after processing current node
BuildAction
Informs BuildCoordinator about new step in parse process
ParsedItemType
Tells builder if given node should be considered as a value or algorithm element

Typedefs

PNDelegate = Action Function(dynamic context, dynamic data)
Defines a signature of external function used in processing tree

Exceptions / Errors

TreeBuilderException