Package org.rumbledb.expressions.module
Class FunctionDeclaration
java.lang.Object
org.rumbledb.expressions.Node
org.rumbledb.expressions.module.FunctionDeclaration
-
Field Summary
Fields inherited from class org.rumbledb.expressions.Node
highestExecutionMode
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionDeclaration
(InlineFunctionExpression functionExpression, 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) void
setRecursive
(boolean recursive) Methods inherited from class org.rumbledb.expressions.Node
getDescendants, getDescendantsMatching, getHighestExecutionMode, getHighestExecutionMode, getMetadata, indentIt, isContextDependent, numberOfUnsetExecutionModes, setHighestExecutionMode, toString
-
Constructor Details
-
FunctionDeclaration
-
-
Method Details
-
getExpression
-
getFunctionIdentifier
-
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.
-
accept
Description copied from class:Node
Accept method for the visitor pattern. -
print
Prints the node tree to a string buffer. -
serializeToJSONiq
- Specified by:
serializeToJSONiq
in classNode
-
isRecursive
public boolean isRecursive() -
setRecursive
public void setRecursive(boolean recursive)
-