Processor class abstract

Base class for processors (built-in and custom) D01.

Constructors

Processor()

Properties

attribute String
Attribute suffix (e.g. 'with' for tl:with, 'text' for tl:text).
no setter
autoProcessChildren bool
Whether children are auto-processed after process() returns true D04. Override to false for processors that manage their own subtree.
no setter
hashCode int
The hash code for this object.
no setterinherited
priority ProcessorPriority
Priority slot for ordering relative to other processors D02.
no setter
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
process(Element element, String value, ProcessorContext context) bool
Process an element. Returns true if element remains in DOM, false if element was removed/consumed D05.
toString() String
A string representation of this object.
inherited

Operators

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