Beispiel #1
0
 /**
  * visitSubExpression
  *
  * @param SubExpression $sub
  * @return void 
  */
 public function visitSubExpression(SubExpression $sub)
 {
     $sub->getSubExpression()->accept($this);
 }
Beispiel #2
0
 /**
  * visitSubExpression
  *
  * @param SubExpression
  * @return void
  */
 public function visitSubExpression(SubExpression $sub)
 {
     $this->printIndentedLine("Subexpression");
     $this->increaseIndent();
     $sub->getSubExpression()->accept($this);
     $this->decreaseIndent();
 }