当前位置: 首页>>代码示例>>PHP>>正文


PHP PHP_Depend_Code_ASTVisitorI类代码示例

本文整理汇总了PHP中PHP_Depend_Code_ASTVisitorI的典型用法代码示例。如果您正苦于以下问题:PHP PHP_Depend_Code_ASTVisitorI类的具体用法?PHP PHP_Depend_Code_ASTVisitorI怎么用?PHP PHP_Depend_Code_ASTVisitorI使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了PHP_Depend_Code_ASTVisitorI类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: accept

 /**
  * 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);
 }
开发者ID:KingNoosh,项目名称:Teknik,代码行数:14,代码来源:ASTMemberPrimaryPrefix.php

示例2: accept

 /**
  * 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);
 }
开发者ID:rasismeiro,项目名称:cintient,代码行数:14,代码来源:ASTParentReference.php

示例3: accept

 /**
  * 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);
 }
开发者ID:KingNoosh,项目名称:Teknik,代码行数:14,代码来源:ASTContinueStatement.php

示例4: accept

 /**
  * 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);
 }
开发者ID:KingNoosh,项目名称:Teknik,代码行数:14,代码来源:ASTArray.php

示例5: accept

 /**
  * 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);
 }
开发者ID:JohnMurray,项目名称:VulnScan,代码行数:14,代码来源:ASTEvalExpression.php

示例6: accept

 /**
  * 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);
 }
开发者ID:kingsj,项目名称:core,代码行数:14,代码来源:ASTPropertyPostfix.php

示例7: accept

 /**
  * 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);
 }
开发者ID:kingsj,项目名称:core,代码行数:14,代码来源:ASTClassOrInterfaceReference.php

示例8: accept

 /**
  * 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);
 }
开发者ID:JohnMurray,项目名称:VulnScan,代码行数:14,代码来源:ASTPrimitiveType.php

示例9: accept

 /**
  * 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);
 }
开发者ID:Tjorriemorrie,项目名称:app,代码行数:14,代码来源:ASTCompoundVariable.php

示例10: accept

 /**
  * 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);
 }
开发者ID:rasismeiro,项目名称:cintient,代码行数:14,代码来源:ASTFieldDeclaration.php

示例11: accept

 /**
  * 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);
 }
开发者ID:kingsj,项目名称:core,代码行数:14,代码来源:ASTConstantDeclarator.php

示例12: accept

 /**
  * 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);
 }
开发者ID:kingsj,项目名称:core,代码行数:14,代码来源:ASTFormalParameters.php

示例13: accept

 /**
  * 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);
 }
开发者ID:rouffj,项目名称:pdepend,代码行数:13,代码来源:ASTTraitAdaptationAlias.php

示例14: accept

 /**
  * 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);
 }
开发者ID:noelg,项目名称:pdepend,代码行数:18,代码来源:ASTNode.php


注:本文中的PHP_Depend_Code_ASTVisitorI类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。