ParsedItemType enum

Tells builder if given node should be considered as a value or algorithm element

Inheritance

Constructors

ParsedItemType()
const

Values

constValue → const ParsedItemType

This is node which represents constant value. While parsing call to delegate will be performed, returned value will be passed to parent node data collection. Item marked with this type will not create node in processing tree!

Contract #1: delegate of constValue takes KeyValue object as a context and can change name/value fields as needed.

Contract #2: Parent data is not null and it conforms to operator [](String name)=dynamic. To store result of delegate call.

Contract #3: Result value of delegate different then Action.proceed is considered as error and TreBuildException is thrown.

Contract #4: ConstValue might have any nested children, but all of them must be also a constValue.

owner → const ParsedItemType

This is node which is part of algorithm, it should be represented as a delegate and data in Processing Tree

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ParsedItemType>
A constant List of the values in this enum, in order of their declaration.