PHP Интерфейс Pinq\Queries\Functions\IFunction

Автор: Elliot Levin ([email protected])
Наследование: extends Serializable
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
countBodyExpressions ( ) : integer Gets amount of body expressions of the function.
countBodyExpressionsUntilReturn ( ) : integer Gets amount of body expressions of the function before and including the first return statement.
getBodyExpressions ( ) : Expression[] Gets the body expressions of the function.
getBodyExpressionsUntilReturn ( ) : Expression[] Gets the body expressions of the function before and including the first return statement.
getCallableId ( ) : string Gets the parameter id of the callable for the function.
getEvaluationContextFactory ( ) : FunctionEvaluationContextFactory Gets an evaluation context factory of the function.
getNamespace ( ) : string | null Gets the namespace the function was defined in.
getParameterIds ( ) : string[]
getParameterScopedVariableMap ( ) : array Gets an array containing the parameter ids as keys with their respective scoped variable name as the value.
getParameters ( ) : ParameterBase
getScopeType ( ) : string | null Gets the bound type of the function.
hasNamespace ( ) : boolean Whether the function is defined in a namespace.
hasScopeType ( ) : boolean Whether the function has a scoped type.
isInternal ( ) : boolean
update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static
updateBody ( array $bodyExpressions = null ) : static
walk ( ExpressionWalker $walker ) : static

Описание методов

countBodyExpressions() публичный Метод

Gets amount of body expressions of the function.
public countBodyExpressions ( ) : integer
Результат integer

countBodyExpressionsUntilReturn() публичный Метод

Gets amount of body expressions of the function before and including the first return statement.
public countBodyExpressionsUntilReturn ( ) : integer
Результат integer

getBodyExpressions() публичный Метод

Gets the body expressions of the function.
public getBodyExpressions ( ) : Expression[]
Результат Pinq\Expressions\Expression[]

getBodyExpressionsUntilReturn() публичный Метод

Gets the body expressions of the function before and including the first return statement.
public getBodyExpressionsUntilReturn ( ) : Expression[]
Результат Pinq\Expressions\Expression[]

getCallableId() публичный Метод

Gets the parameter id of the callable for the function.
public getCallableId ( ) : string
Результат string

getEvaluationContextFactory() публичный Метод

Gets an evaluation context factory of the function.
public getEvaluationContextFactory ( ) : FunctionEvaluationContextFactory
Результат FunctionEvaluationContextFactory

getNamespace() публичный Метод

Null if was defined in the global namespace.
public getNamespace ( ) : string | null
Результат string | null

getParameterIds() публичный Метод

public getParameterIds ( ) : string[]
Результат string[]

getParameterScopedVariableMap() публичный Метод

Gets an array containing the parameter ids as keys with their respective scoped variable name as the value.
public getParameterScopedVariableMap ( ) : array
Результат array

getParameters() публичный Метод

public getParameters ( ) : ParameterBase
Результат Pinq\Queries\Functions\Parameters\ParameterBase

getScopeType() публичный Метод

Null if there is no bound type.
public getScopeType ( ) : string | null
Результат string | null

hasNamespace() публичный Метод

Whether the function is defined in a namespace.
public hasNamespace ( ) : boolean
Результат boolean

hasScopeType() публичный Метод

Whether the function has a scoped type.
public hasScopeType ( ) : boolean
Результат boolean

isInternal() публичный Метод

public isInternal ( ) : boolean
Результат boolean

update() публичный Метод

public update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static
$scopeType string | null
$namespace string | null
$parameterScopedVariableMap array
$parameterExpressions array
$bodyExpressions array
Результат static

updateBody() публичный Метод

public updateBody ( array $bodyExpressions = null ) : static
$bodyExpressions array
Результат static

walk() публичный Метод

public walk ( ExpressionWalker $walker ) : static
$walker Pinq\Expressions\ExpressionWalker
Результат static