|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.model.DomainModel
org.problets.domain.model.expression.node.NodeModel
org.problets.domain.model.expression.node.operator.Operator
org.problets.domain.model.expression.node.operator.misc.Comma
public class Comma
To represent C++ comma (,) operator
Field Summary | |
---|---|
static java.lang.String |
SYMBOL
|
Fields inherited from class org.problets.domain.model.expression.node.operator.Operator |
---|
INCORRECT_OPERAND_COUNT |
Constructor Summary | |
---|---|
Comma()
|
Method Summary | |
---|---|
Value |
evaluate()
Method to detect any errors before subclasses evaluate expressions Not to be used by client. |
Methods inherited from class org.problets.domain.model.expression.node.operator.Operator |
---|
clone, coerceToReal, contentEquals, contentEquals, explain, getArity, getAssociativity, getLocalLearningObjectives, getOperatorType, getPrecedence, getQualifiedLearningObject, getStudentCopy, getSymbol, grade, locateOperator, main, recursiveContentEquals, recursiveSetValue |
Methods inherited from class org.problets.domain.model.expression.node.NodeModel |
---|
classifyNodes, getContent, getLeftChild, getNonRecursiveContent, getOrder, getPosition, getRecursiveContent, getRightChild, getSideEffects, getValue, insertInOrder, setLeftChild, setOrder, setPosition, setRightChild, setValue, shortCircuit, skip, subExpToString, toString, valueEquals |
Methods inherited from class org.problets.domain.model.DomainModel |
---|
getId, getIdName, grade |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYMBOL
Constructor Detail |
---|
public Comma()
Method Detail |
---|
public Value evaluate()
Operator
evaluate
in class Operator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |