php PDepend-Source-ASTVisitor-ASTVisitor类(方法)实例源码

下面列出了php PDepend-Source-ASTVisitor-ASTVisitor 类(方法)源码代码实例,从而了解它的用法。

作者:eduardobenito1    项目:jenkins-php-quickstar   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed $data
  *
  * @return mixed
  * @since 0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitMemberPrimaryPrefix($this, $data);
 }

作者:Flesh19    项目:magent   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitPrimitiveType($this, $data);
 }

作者:thekaba    项目:tk   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param mixed $data
  * @return mixed
  * @since 0.9.12
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitAllocationExpression($this, $data);
 }

作者:Flesh19    项目:magent   
/**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitProperty($this);
 }

作者:eduardobenito1    项目:jenkins-php-quickstar   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param mixed $data
  * @return mixed
  * @since 0.9.12
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitClassReference($this, $data);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitClass($this);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitWhileStatement($this, $data);
 }

作者:eduardobenito1    项目:jenkins-php-quickstar   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param mixed $data
  * @return mixed
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitTraitAdaptationPrecedence($this, $data);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitTraitAdaptationAlias($this, $data);
 }

作者:thekaba    项目:tk   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param mixed $data
  * @return mixed
  * @since 0.9.12
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitBooleanOrExpression($this, $data);
 }

作者:eduardobenito1    项目:jenkins-php-quickstar   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed $data
  *
  * @return mixed
  * @since 0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitArguments($this, $data);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitSwitchLabel($this, $data);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitFieldDeclaration($this, $data);
 }

作者:Jvbzephi    项目:pdepen   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitClassOrInterfaceReference($this, $data);
 }

作者:Flesh19    项目:magent   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param  mixed                                 $data
  * @return mixed
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitStringIndexExpression($this, $data);
 }

作者:eduardobenito1    项目:jenkins-php-quickstar   
/**
  * ASTVisitor method for node tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitTrait($this);
 }

作者:Flesh19    项目:magent   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
  * @param mixed                                 $data
  *
  * @return mixed
  * @since  0.9.12
  */
 public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitStaticReference($this, $data);
 }

作者:thekaba    项目:tk   
/**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitCompilationUnit($this);
 }

作者:Flesh19    项目:magent   
/**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitNamespace($this);
 }

作者:thekaba    项目:tk   
/**
  * Accept method of the visitor design pattern. This method will be called
  * by a visitor during tree traversal.
  *
  * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @param mixed $data
  * @return mixed
  * @since  0.9.12
  */
 public function accept(ASTVisitor $visitor, $data = null)
 {
     return $visitor->visitConstantDeclarator($this, $data);
 }


问题


面经


文章

微信
公众号

扫码关注公众号