PHP Interface Pinq\Analysis\IExpressionAnalyser

Author: Elliot Levin ([email protected])
Mostra file Open project: timetoogo/pinq Interface Usage Examples

Public Methods

Method Description
analyse ( Pinq\Analysis\IAnalysisContext $analysisContext, Expression $expression ) : Pinq\Analysis\ITypeAnalysis Analyses the supplied expression tree.
createAnalysisContext ( Pinq\Expressions\IEvaluationContext $evaluationContext ) : Pinq\Analysis\IAnalysisContext Creates a new analysis context with the supplied evaluation context.
getTypeSystem ( ) : Pinq\Analysis\ITypeSystem Gets the type system for the expression analyser.

Method Details

analyse() public method

Analyses the supplied expression tree.
public analyse ( Pinq\Analysis\IAnalysisContext $analysisContext, Expression $expression ) : Pinq\Analysis\ITypeAnalysis
$analysisContext Pinq\Analysis\IAnalysisContext
$expression Pinq\Expressions\Expression
return Pinq\Analysis\ITypeAnalysis

createAnalysisContext() public method

Creates a new analysis context with the supplied evaluation context.
public createAnalysisContext ( Pinq\Expressions\IEvaluationContext $evaluationContext ) : Pinq\Analysis\IAnalysisContext
$evaluationContext Pinq\Expressions\IEvaluationContext
return Pinq\Analysis\IAnalysisContext

getTypeSystem() public method

Gets the type system for the expression analyser.
public getTypeSystem ( ) : Pinq\Analysis\ITypeSystem
return Pinq\Analysis\ITypeSystem