OrgNode class abstract
The base type of all Org AST objects
- Implementers
Constructors
- OrgNode()
Properties
Methods
-
contains(
Pattern pattern) → bool -
Return true if this node or any of its children recursively match the
supplied
pattern
-
find<
T extends OrgNode> (bool predicate(T), [OrgPath path = const []]) → ({T node, OrgPath path})? -
Find the first node in the AST that satisfies
predicate
. Specify a typeT
to only visit nodes of that type. Returns a tuple of the node and its path from the root of the tree, or null if no node is found. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMarkup(
) → String -
toString(
) → String -
A string representation of this object.
inherited
-
visit<
T extends OrgNode> (bool visitor(T)) → bool -
Walk AST with
visitor
. Specify a typeT
to only visit nodes of that type. The visitor function must returntrue
to continue iterating, orfalse
to stop.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited