本文整理汇总了PHP中PDepend\Source\ASTVisitor\ASTVisitor::visitArguments方法的典型用法代码示例。如果您正苦于以下问题:PHP ASTVisitor::visitArguments方法的具体用法?PHP ASTVisitor::visitArguments怎么用?PHP ASTVisitor::visitArguments使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PDepend\Source\ASTVisitor\ASTVisitor
的用法示例。
在下文中一共展示了ASTVisitor::visitArguments方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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->visitArguments($this, $data);
}
示例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
* @param mixed $data
* @return mixed
* @since 0.9.12
*/
public function accept(ASTVisitor $visitor, $data = null)
{
return $visitor->visitArguments($this, $data);
}