Beispiel #1
0
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitHorizontalRule($this);
 }
Beispiel #2
0
 /**
  * Accept a visit from a node visitor.
  *
  * This method should instrument the visitor to handle this node correctly, and also pass it on to any child nodes.
  *
  * @param NodeVisitorInterface $visitor
  * @return void
  */
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitString($this);
 }
Beispiel #3
0
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitHTMLBlock($this);
 }
Beispiel #4
0
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->enterParagraph($this);
     $visitor->leaveParagraph($this);
 }
Beispiel #5
0
 /**
  * Accept a visit from a node visitor.
  *
  * This method should instrument the visitor to handle this node correctly, and also pass it on to any child nodes.
  *
  * @param NodeVisitorInterface $visitor
  * @return void
  */
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitRawHTML($this);
 }
Beispiel #6
0
 /**
  * Accept a visit from a node visitor.
  *
  * This method should instrument the visitor to handle this node correctly, and also pass it on to any child nodes.
  *
  * @param NodeVisitorInterface $visitor
  * @return void
  */
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitImage($this);
 }
Beispiel #7
0
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->enterBlockquote($this);
     parent::visit($visitor);
     $visitor->leaveBlockquote($this);
 }
Beispiel #8
0
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->enterListBlock($this);
     parent::visit($visitor);
     $visitor->leaveListBlock($this);
 }
Beispiel #9
0
 /**
  * Accept a visit from a node visitor.
  *
  * This method should instrument the visitor to handle this node correctly, and also pass it on to any child nodes.
  *
  * @param NodeVisitorInterface $visitor
  * @return void
  */
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitEmphasis($this);
 }
Beispiel #10
0
 /**
  * Accept a visit from a node visitor.
  *
  * This method should instrument the visitor to handle this node correctly, and also pass it on to any child nodes.
  *
  * @param NodeVisitorInterface $visitor
  * @return void
  */
 public function visit(NodeVisitorInterface $visitor)
 {
     $visitor->visitHardBreak($this);
 }