OrgComment class
- Inheritance
-
- Object
- OrgNode
- OrgLeafNode
- OrgComment
- Mixed-in types
Constructors
- OrgComment(String indent, String start, String content, String trailing)
Properties
-
children
→ List<
OrgNode> ? -
The children of this node. May be empty (no children) or null (an object
that can't have children).
no setterinherited
- content → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indent → String
-
Indenting whitespace
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → String
-
final
- trailing → String
-
Trailing whitespace
final
Methods
-
contains(
Pattern pattern) → bool -
Return true if this node or any of its children recursively match the
supplied
patternoverride -
copyWith(
{String? indent, String? start, String? content, String? trailing}) → OrgComment -
override
-
ensureTrailingNewLine(
) → OrgElement -
inherited
-
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 typeTto 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.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMarkup(
{OrgSerializer? serializer}) → String -
inherited
-
toPlainText(
{OrgPlainTextSerializer? serializer}) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit<
T extends OrgNode> (bool visitor(T)) → bool -
Walk AST with
visitor. Specify a typeTto only visit nodes of that type. The visitor function must returntrueto continue iterating, orfalseto stop.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited