OrgSrcBlock class

A source block, like

#+begin_src sh
  echo "hello world"
#+end_src
Inheritance

Constructors

OrgSrcBlock(String? language, String indent, String header, OrgNode body, String footer, String trailing)

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
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 type T to only visit nodes of that type. The visitor function must return true to continue iterating, or false to stop.
inherited

Operators

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