/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitMemberPrimaryPrefix($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitParentReference($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitContinueStatement($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitArray($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitEvalExpression($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitPropertyPostfix($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitClassOrInterfaceReference($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitPrimitiveType($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitCompoundVariable($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitFieldDeclaration($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitConstantDeclarator($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed * @since 0.9.12 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitFormalParameters($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param mixed $data Optional previous calculated data. * * @return mixed */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { return $visitor->visitTraitAdaptationAlias($this, $data); }
/** * Accept method of the visitor design pattern. This method will be called * by a visitor during tree traversal. * * @param PHP_Depend_Code_ASTVisitorI $visitor The calling visitor instance. * @param array(string=>integer) $data Optional previous calculated data. * * @return mixed * @since 0.9.8 */ public function accept(PHP_Depend_Code_ASTVisitorI $visitor, $data = null) { $data = $visitor->visitBefore($this, $data); foreach ($this->nodes as $node) { $data = $node->accept($visitor, $data); } return $visitor->visitAfter($this, $data); }