OrgSrcBlock class
A source block, like
#+begin_src sh
echo "hello world"
#+end_src
Constructors
Properties
- body → OrgNode
-
finalinherited
-
children
→ List<
OrgNode> -
The children of this node. May be empty.
no setterinherited
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → String
-
finalinherited
- indent → String
-
Indenting whitespace
finalinherited
- language → String?
-
The language of the block, like
sh
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailing → String
-
Trailing whitespace
finalinherited
Methods
-
contains(
Pattern pattern) → bool -
Return true if this node or any of its children recursively match the
supplied
pattern
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited