PHP Class Pinq\Tests\Integration\Analysis\TypeAnalysisTest

Author: Elliot Levin ([email protected])
Inheritance: extends ExpressionAnalysisTestCase
Afficher le fichier Open project: timetoogo/pinq

Protected Properties

Свойство Type Description
$foo

Méthodes publiques

Méthode Description
testBinaryOperators ( )
testCasts ( )
testClosure ( )
testEmpty ( )
testFields ( )
testFunctionCalls ( )
testIndexers ( )
testInvocation ( )
testIsset ( )
testMetaDataWithInvalidExpressionThrowsException ( )
testMethodCalls ( )
testNativeTypes ( )
testNew ( )
testReturnTypeWithInvalidExpressionThrowsException ( )
testStaticField ( )
testStaticMethodCall ( )
testTernary ( )
testThrow ( )
testUnaryOperators ( )

Méthodes protégées

Méthode Description
assertCorrectType ( Pinq\Analysis\ITypeAnalysis $analysis, $type, Expression $expression )
assertTypeMatchesValue ( Pinq\Analysis\ITypeAnalysis $analysis, Expression $expression, Pinq\Analysis\IType $metadataType = null )
doAnalysisTest ( callable $expression, callable $test, array $variableTypeMap = [] )

Method Details

assertCorrectType() protected méthode

protected assertCorrectType ( Pinq\Analysis\ITypeAnalysis $analysis, $type, Expression $expression )
$analysis Pinq\Analysis\ITypeAnalysis
$expression Pinq\Expressions\Expression

assertTypeMatchesValue() protected méthode

protected assertTypeMatchesValue ( Pinq\Analysis\ITypeAnalysis $analysis, Expression $expression, Pinq\Analysis\IType $metadataType = null )
$analysis Pinq\Analysis\ITypeAnalysis
$expression Pinq\Expressions\Expression
$metadataType Pinq\Analysis\IType

doAnalysisTest() protected méthode

protected doAnalysisTest ( callable $expression, callable $test, array $variableTypeMap = [] )
$expression callable
$test callable
$variableTypeMap array

testBinaryOperators() public méthode

public testBinaryOperators ( )

testCasts() public méthode

public testCasts ( )

testClosure() public méthode

public testClosure ( )

testEmpty() public méthode

public testEmpty ( )

testFields() public méthode

public testFields ( )

testFunctionCalls() public méthode

public testFunctionCalls ( )

testIndexers() public méthode

public testIndexers ( )

testInvocation() public méthode

public testInvocation ( )

testIsset() public méthode

public testIsset ( )

testMetaDataWithInvalidExpressionThrowsException() public méthode

testMethodCalls() public méthode

public testMethodCalls ( )

testNativeTypes() public méthode

public testNativeTypes ( )

testNew() public méthode

public testNew ( )

testReturnTypeWithInvalidExpressionThrowsException() public méthode

testStaticField() public méthode

public testStaticField ( )

testStaticMethodCall() public méthode

testTernary() public méthode

public testTernary ( )

testThrow() public méthode

public testThrow ( )

testUnaryOperators() public méthode

public testUnaryOperators ( )

Property Details

$foo protected_oe static_oe property

protected static $foo