PHP 클래스 Tests\PHPSA\Compiler\Expression\Operators\Comparison\BaseTestCase

상속: extends Tests\PHPSA\TestCase
파일 보기 프로젝트 열기: ovr/phpsa

공개 메소드들

메소드 설명
smallerDataProvider ( ) : array
testFirstUnexpectedTypes ( )
testSecondUnexpectedTypes ( )
testSimpleSuccessCompile ( $a, $b ) Tests {int} $operator {int} = {int}

보호된 메소드들

메소드 설명
buildExpression ( PhpParser\Node\Scalar $a, PhpParser\Node\Scalar $b ) : PhpParser\Node\Expr\BinaryOp
operator ( $a, $b ) : mixed

메소드 상세

buildExpression() 추상적인 보호된 메소드

abstract protected buildExpression ( PhpParser\Node\Scalar $a, PhpParser\Node\Scalar $b ) : PhpParser\Node\Expr\BinaryOp
$a PhpParser\Node\Scalar
$b PhpParser\Node\Scalar
리턴 PhpParser\Node\Expr\BinaryOp

operator() 추상적인 보호된 메소드

abstract protected operator ( $a, $b ) : mixed
$a
$b
리턴 mixed

smallerDataProvider() 공개 메소드

public smallerDataProvider ( ) : array
리턴 array

testFirstUnexpectedTypes() 공개 메소드

testSecondUnexpectedTypes() 공개 메소드

testSimpleSuccessCompile() 공개 메소드

Tests {int} $operator {int} = {int}
public testSimpleSuccessCompile ( $a, $b )