Package jadex.javaparser.javaccimpl
Class CollectionNode
- java.lang.Object
 - 
- jadex.javaparser.javaccimpl.SimpleNode
 - 
- jadex.javaparser.javaccimpl.ExpressionNode
 - 
- jadex.javaparser.javaccimpl.CollectionNode
 
 
 
 
- 
- All Implemented Interfaces:
 IParsedExpression,Node,java.io.Serializable
public class CollectionNode extends ExpressionNode
A node representing collection values to fill in.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class jadex.javaparser.javaccimpl.ExpressionNode
constant, constant_value, expressiontext, imports, static_type, text 
- 
Fields inherited from class jadex.javaparser.javaccimpl.SimpleNode
children, id, parent 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CollectionNode(jadex.javaparser.javaccimpl.ParserImpl p, int id)Create an expression node. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue(IValueFetcher fetcher)Evaluate the expression in the given state with respect to given parameters.voidprecompile()Precompute type, and perform checks.java.lang.StringtoPlainString()Create a string representation of this node and its subnodes.- 
Methods inherited from class jadex.javaparser.javaccimpl.ExpressionNode
appendText, equals, getConstantValue, getExpressionText, getParameters, getStaticType, getText, getUnboundParameterNodes, hashCode, isConstant, precompileTree, setConstant, setConstantValue, setExpressionText, setStaticType, setText, subnodeToString, throwEvaluationException, throwParseException, toString, toString 
- 
Methods inherited from class jadex.javaparser.javaccimpl.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent 
 - 
 
 - 
 
- 
- 
Method Detail
- 
precompile
public void precompile()
Precompute type, and perform checks.- Overrides:
 precompilein classExpressionNode
 
- 
getValue
public java.lang.Object getValue(IValueFetcher fetcher)
Evaluate the expression in the given state with respect to given parameters.- Specified by:
 getValuein interfaceIParsedExpression- Specified by:
 getValuein classExpressionNode- Parameters:
 params- The parameters (string, value pairs), if any.- Returns:
 - The value of the term.
 
 
- 
toPlainString
public java.lang.String toPlainString()
Create a string representation of this node and its subnodes.- Specified by:
 toPlainStringin interfaceNode- Overrides:
 toPlainStringin classExpressionNode- Returns:
 - A string representation of this node.
 
 
 - 
 
 -