unwrap method

void unwrap()

Unwraps this line from it's parent BlockNode.

This method asserts if current parent of this line is not a BlockNode.

Implementation

void unwrap() {
  assert(parent is BlockNode);
  BlockNode block = parent as BlockNode;
  block.unwrapLine(this);
}