PHP 인터페이스 Pinq\Analysis\IAnalysisContext

저자: Elliot Levin ([email protected])
상속: extends Pinq\Analysis\ITyped
파일 보기 프로젝트 열기: timetoogo/pinq 0 사용 예제들

공개 메소드들

메소드 설명
createReference ( Expression $expression, Expression $referencedExpression ) : void Creates a reference between the supplied expressions.
getEvaluationContext ( ) : Pinq\Expressions\IEvaluationContext Gets the evaluation context.
getExpressionType ( Expression $expression ) : Pinq\Analysis\IType | null Gets the type of the expression.
inNewScope ( ) : Pinq\Analysis\IAnalysisContext Creates a new analysis context with an empty expression type list.
removeExpressionType ( Expression $expression ) : void Removes the type of the expression.
setExpressionType ( Expression $expression, Pinq\Analysis\IType $type ) : void Sets the type of the expression.

메소드 상세

createReference() 공개 메소드

Creates a reference between the supplied expressions.
public createReference ( Expression $expression, Expression $referencedExpression ) : void
$expression Pinq\Expressions\Expression
$referencedExpression Pinq\Expressions\Expression
리턴 void

getEvaluationContext() 공개 메소드

Gets the evaluation context.
public getEvaluationContext ( ) : Pinq\Expressions\IEvaluationContext
리턴 Pinq\Expressions\IEvaluationContext

getExpressionType() 공개 메소드

Null if no type has been set. The expression is compared using value equality (same code).
public getExpressionType ( Expression $expression ) : Pinq\Analysis\IType | null
$expression Pinq\Expressions\Expression
리턴 Pinq\Analysis\IType | null

inNewScope() 공개 메소드

Creates a new analysis context with an empty expression type list.
public inNewScope ( ) : Pinq\Analysis\IAnalysisContext
리턴 Pinq\Analysis\IAnalysisContext

removeExpressionType() 공개 메소드

Removes the type of the expression.
public removeExpressionType ( Expression $expression ) : void
$expression Pinq\Expressions\Expression
리턴 void

setExpressionType() 공개 메소드

Sets the type of the expression.
public setExpressionType ( Expression $expression, Pinq\Analysis\IType $type ) : void
$expression Pinq\Expressions\Expression
$type Pinq\Analysis\IType
리턴 void