PHP 클래스 Pinq\Queries\Functions\FunctionBase

저자: Elliot Levin ([email protected])
상속: implements Pinq\Queries\Functions\IFunction
파일 보기 프로젝트 열기: timetoogo/pinq

보호된 프로퍼티들

프로퍼티 타입 설명
$bodyExpressions Pinq\Expressions\Expression[] | null The expressions of the body statements of the function
$evaluationContextFactory FunctionEvaluationContextFactory
$parameters Pinq\Queries\Functions\Parameters\ParameterBase The structure of the function's parameters

공개 메소드들

메소드 설명
__construct ( $callableId, $scopeType, $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null )
countBodyExpressions ( )
countBodyExpressionsUntilReturn ( )
factory ( ) : callable Gets a callable factory for the function structure.
getBodyExpressions ( )
getBodyExpressionsUntilReturn ( )
getCallableId ( )
getEvaluationContextFactory ( )
getNamespace ( )
getParameterIds ( )
getParameterScopedVariableMap ( )
getParameters ( )
getScopeType ( )
hasNamespace ( )
hasScopeType ( )
isInternal ( )
serialize ( )
unserialize ( $data )
update ( $scopeType, $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null )
updateBody ( array $bodyExpressions = null )
walk ( ExpressionWalker $walker )

보호된 메소드들

메소드 설명
dataToSerialize ( )
getParameterStructure ( array $parameterExpressions ) : ParameterBase
initialize ( )
unserializeData ( $data )
verifyNotInternal ( $method )

메소드 상세

__construct() 최종 공개 메소드

final public __construct ( $callableId, $scopeType, $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null )
$parameterScopedVariableMap array
$parameterExpressions array
$bodyExpressions array

countBodyExpressions() 최종 공개 메소드

final public countBodyExpressions ( )

countBodyExpressionsUntilReturn() 최종 공개 메소드

dataToSerialize() 보호된 메소드

protected dataToSerialize ( )

factory() 공개 정적인 메소드

Gets a callable factory for the function structure.
public static factory ( ) : callable
리턴 callable

getBodyExpressions() 최종 공개 메소드

final public getBodyExpressions ( )

getBodyExpressionsUntilReturn() 최종 공개 메소드

getCallableId() 최종 공개 메소드

final public getCallableId ( )

getEvaluationContextFactory() 공개 메소드

getNamespace() 공개 메소드

public getNamespace ( )

getParameterIds() 공개 메소드

public getParameterIds ( )

getParameterScopedVariableMap() 공개 메소드

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

abstract protected getParameterStructure ( array $parameterExpressions ) : ParameterBase
$parameterExpressions array
리턴 Pinq\Queries\Functions\Parameters\ParameterBase

getParameters() 공개 메소드

public getParameters ( )

getScopeType() 공개 메소드

public getScopeType ( )

hasNamespace() 공개 메소드

public hasNamespace ( )

hasScopeType() 공개 메소드

public hasScopeType ( )

initialize() 보호된 메소드

protected initialize ( )

isInternal() 공개 메소드

public isInternal ( )

serialize() 최종 공개 메소드

final public serialize ( )

unserialize() 최종 공개 메소드

final public unserialize ( $data )

unserializeData() 보호된 메소드

protected unserializeData ( $data )

update() 공개 메소드

public update ( $scopeType, $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null )
$parameterScopedVariableMap array
$parameterExpressions array
$bodyExpressions array

updateBody() 공개 메소드

public updateBody ( array $bodyExpressions = null )
$bodyExpressions array

verifyNotInternal() 최종 보호된 메소드

final protected verifyNotInternal ( $method )

walk() 최종 공개 메소드

final public walk ( ExpressionWalker $walker )
$walker Pinq\Expressions\ExpressionWalker

프로퍼티 상세

$bodyExpressions 보호되어 있는 프로퍼티

The expressions of the body statements of the function
protected Expression[],Pinq\Expressions|null $bodyExpressions
리턴 Pinq\Expressions\Expression[] | null

$evaluationContextFactory 보호되어 있는 프로퍼티

protected FunctionEvaluationContextFactory,Pinq\Queries\Functions $evaluationContextFactory
리턴 FunctionEvaluationContextFactory

$parameters 보호되어 있는 프로퍼티

The structure of the function's parameters
protected ParameterBase,Pinq\Queries\Functions\Parameters $parameters
리턴 Pinq\Queries\Functions\Parameters\ParameterBase