Package org.rumbledb.expressions.primary
Class FunctionCallExpression
java.lang.Object
org.rumbledb.expressions.Node
org.rumbledb.expressions.Expression
org.rumbledb.expressions.primary.FunctionCallExpression
-
Field Summary
Fields inherited from class org.rumbledb.expressions.Expression
expressionClassification, isSequential, staticContext, staticSequenceType
Fields inherited from class org.rumbledb.expressions.Node
highestExecutionMode
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionCallExpression
(Name functionName, List<Expression> arguments, ExceptionMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(AbstractNodeVisitor<T> visitor, T argument) Accept method for the visitor pattern.Returns all children nodes as a list.boolean
void
print
(StringBuffer buffer, int indent) Prints the node tree to a string buffer.void
serializeToJSONiq
(StringBuffer sb, int indent) Methods inherited from class org.rumbledb.expressions.Expression
alwaysReturnsAtMostOneItem, getExpressionClassification, getStaticContext, getStaticContextForRuntime, getStaticSequenceType, isSequential, isUnset, isUpdating, isUpdatingNonSequential, setExpressionClassification, setSequential, setStaticContext, setStaticSequenceType
Methods inherited from class org.rumbledb.expressions.Node
getDescendants, getDescendantsMatching, getHighestExecutionMode, getHighestExecutionMode, getMetadata, indentIt, isContextDependent, numberOfUnsetExecutionModes, setHighestExecutionMode, toString
-
Constructor Details
-
FunctionCallExpression
public FunctionCallExpression(Name functionName, List<Expression> arguments, ExceptionMetadata metadata)
-
-
Method Details
-
getArguments
-
getFunctionIdentifier
-
getFunctionName
-
getChildren
Description copied from class:Node
Returns all children nodes as a list. The list is new and can be modified at will by the caller.- Specified by:
getChildren
in classNode
- Returns:
- the children nodes as a list.
-
isPartialApplication
public boolean isPartialApplication() -
accept
Description copied from class:Node
Accept method for the visitor pattern. -
print
Description copied from class:Node
Prints the node tree to a string buffer.- Overrides:
print
in classExpression
- Parameters:
buffer
- a string buffer to write toindent
- the current level of indentation
-
serializeToJSONiq
- Specified by:
serializeToJSONiq
in classNode
-