PHP 클래스 Phan\Analysis\ArgumentType

파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

공개 메소드들

메소드 설명
analyze ( Phan\Language\Element\FunctionInterface $method, ast\Node $node, Context $context, CodeBase $code_base ) : null

비공개 메소드들

메소드 설명
analyzeInternalArgumentType ( Phan\Language\Element\FunctionInterface $method, ast\Node $node, Context $context, CodeBase $code_base ) : boolean Check to see if the given Clazz is a duplicate
analyzeNodeUnionTypeCast ( ast\Node | null | string | integer $node, Context $context, CodeBase $code_base, UnionType $cast_type, Closure $issue_instance ) : boolean Emit a log message if the type of the given node cannot be cast to the given type
analyzeParameterList ( CodeBase $code_base, Phan\Language\Element\FunctionInterface $method, ast\Node $node, Context $context ) : null

메소드 상세

analyze() 공개 정적인 메소드

또한 보기: Phan\Deprecated\Pass2::arg_check Formerly `function arg_check`
public static analyze ( Phan\Language\Element\FunctionInterface $method, ast\Node $node, Context $context, CodeBase $code_base ) : null
$method Phan\Language\Element\FunctionInterface The method we're analyzing arguments for
$node ast\Node The node holding the method call we're looking at
$context Phan\Language\Context The context in which we see the call
$code_base Phan\CodeBase The global code base
리턴 null