Package org.rumbledb.expressions.postfix
Class DynamicFunctionCallExpression
java.lang.Object
org.rumbledb.expressions.Node
org.rumbledb.expressions.Expression
org.rumbledb.expressions.postfix.DynamicFunctionCallExpression
-
Field Summary
Fields inherited from class org.rumbledb.expressions.Expression
expressionClassification, isSequential, staticContext, staticSequenceTypeFields inherited from class org.rumbledb.expressions.Node
highestExecutionMode, isInSequentialBlock -
Constructor Summary
ConstructorsConstructorDescriptionDynamicFunctionCallExpression(Expression mainExpression, List<Expression> arguments, ExceptionMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor, T argument) DynamicFunctionCall is always locally evaluated as execution mode cannot be determined at static analysis phase.Returns all children nodes as a list.voidprint(StringBuilder buffer, int indent) Prints the node tree to a string buffer.voidserializeToJSONiq(StringBuilder sb, int indent) Methods inherited from class org.rumbledb.expressions.Expression
alwaysReturnsAtMostOneItem, getStaticContextForRuntime, isUnset, isUpdating, isUpdatingNonSequential, setIsInSequentialBlock, setSequentialMethods inherited from class org.rumbledb.expressions.Node
getDescendants, getDescendantsMatching, getHighestExecutionMode, indentIt, isContextDependent, numberOfUnsetExecutionModes, toString
-
Constructor Details
-
DynamicFunctionCallExpression
public DynamicFunctionCallExpression(Expression mainExpression, List<Expression> arguments, ExceptionMetadata metadata)
-
-
Method Details
-
getChildren
Description copied from class:NodeReturns all children nodes as a list. The list is new and can be modified at will by the caller.- Specified by:
getChildrenin classNode- Returns:
- the children nodes as a list.
-
accept
DynamicFunctionCall is always locally evaluated as execution mode cannot be determined at static analysis phase. This behavior is different from all other postfix extensions, hence no override is required. -
print
Description copied from class:NodePrints the node tree to a string buffer.- Overrides:
printin classExpression- Parameters:
buffer- a string buffer to write toindent- the current level of indentation
-
serializeToJSONiq
- Specified by:
serializeToJSONiqin classNode
-