當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ASTVisitor\ASTVisitor類代碼示例

本文整理匯總了PHP中PDepend\Source\ASTVisitor\ASTVisitor的典型用法代碼示例。如果您正苦於以下問題:PHP ASTVisitor類的具體用法?PHP ASTVisitor怎麽用?PHP ASTVisitor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了ASTVisitor類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: accept

 /**
  * 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);
 }
開發者ID:eduardobenito10,項目名稱:jenkins-php-quickstart,代碼行數:14,代碼來源:ASTMemberPrimaryPrefix.php

示例2: accept

 /**
  * 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);
 }
開發者ID:Flesh192,項目名稱:magento,代碼行數:14,代碼來源:ASTPrimitiveType.php

示例3: accept

 /**
  * 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);
 }
開發者ID:thekabal,項目名稱:tki,代碼行數:13,代碼來源:ASTAllocationExpression.php

示例4: accept

 /**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitProperty($this);
 }
開發者ID:Flesh192,項目名稱:magento,代碼行數:10,代碼來源:ASTProperty.php

示例5: accept

 /**
  * 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);
 }
開發者ID:eduardobenito10,項目名稱:jenkins-php-quickstart,代碼行數:13,代碼來源:ASTClassReference.php

示例6: accept

 /**
  * ASTVisitor method for node tree traversal.
  *
  * @param  \PDepend\Source\ASTVisitor\ASTVisitor $visitor
  * @return void
  */
 public function accept(ASTVisitor $visitor)
 {
     $visitor->visitClass($this);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:10,代碼來源:ASTClass.php

示例7: accept

 /**
  * 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);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:14,代碼來源:ASTWhileStatement.php

示例8: accept

 /**
  * 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);
 }
開發者ID:eduardobenito10,項目名稱:jenkins-php-quickstart,代碼行數:12,代碼來源:ASTTraitAdaptationPrecedence.php

示例9: accept

 /**
  * 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);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:13,代碼來源:ASTTraitAdaptationAlias.php

示例10: accept

 /**
  * 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);
 }
開發者ID:thekabal,項目名稱:tki,代碼行數:13,代碼來源:ASTBooleanOrExpression.php

示例11: accept

 /**
  * 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);
 }
開發者ID:eduardobenito10,項目名稱:jenkins-php-quickstart,代碼行數:14,代碼來源:ASTArguments.php

示例12: accept

 /**
  * 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);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:14,代碼來源:ASTSwitchLabel.php

示例13: accept

 /**
  * 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);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:14,代碼來源:ASTFieldDeclaration.php

示例14: accept

 /**
  * 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);
 }
開發者ID:Jvbzephir,項目名稱:pdepend,代碼行數:14,代碼來源:ASTClassOrInterfaceReference.php

示例15: accept

 /**
  * 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);
 }
開發者ID:Flesh192,項目名稱:magento,代碼行數:12,代碼來源:ASTStringIndexExpression.php


注:本文中的PDepend\Source\ASTVisitor\ASTVisitor類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。