PHP Class Pinq\Analysis\AnalysisContext

Author: Elliot Levin ([email protected])
Inheritance: extends Typed, implements Pinq\Analysis\IAnalysisContext
ファイルを表示 Open project: timetoogo/pinq

Protected Properties

Property Type Description
$evaluationContext Pinq\Expressions\IEvaluationContext
$expressionTypes Pinq\Analysis\IType[]

Public Methods

Method Description
__construct ( Pinq\Analysis\ITypeSystem $typeSystem, Pinq\Expressions\IEvaluationContext $evaluationContext )
createReference ( Expression $expression, Expression $referencedExpression )
getEvaluationContext ( )
getExpressionType ( Expression $expression )
inNewScope ( )
removeExpressionType ( Expression $expression )
setExpressionType ( Expression $expression, Pinq\Analysis\IType $type )

Method Details

__construct() public method

public __construct ( Pinq\Analysis\ITypeSystem $typeSystem, Pinq\Expressions\IEvaluationContext $evaluationContext )
$typeSystem Pinq\Analysis\ITypeSystem
$evaluationContext Pinq\Expressions\IEvaluationContext

createReference() public method

public createReference ( Expression $expression, Expression $referencedExpression )
$expression Pinq\Expressions\Expression
$referencedExpression Pinq\Expressions\Expression

getEvaluationContext() public method

getExpressionType() public method

public getExpressionType ( Expression $expression )
$expression Pinq\Expressions\Expression

inNewScope() public method

public inNewScope ( )

removeExpressionType() public method

public removeExpressionType ( Expression $expression )
$expression Pinq\Expressions\Expression

setExpressionType() public method

public setExpressionType ( Expression $expression, Pinq\Analysis\IType $type )
$expression Pinq\Expressions\Expression
$type Pinq\Analysis\IType

Property Details

$evaluationContext protected_oe property

protected IEvaluationContext,Pinq\Expressions $evaluationContext
return Pinq\Expressions\IEvaluationContext

$expressionTypes protected_oe property

protected IType[],Pinq\Analysis $expressionTypes
return Pinq\Analysis\IType[]