com.waveset.expression
Class ExFunction.f_ncmp
java.lang.Object
com.waveset.expression.ExNode
com.waveset.expression.ExFunction.f_cmp
com.waveset.expression.ExFunction.f_ncmp
- All Implemented Interfaces:
- com.sun.idm.debugger.common.Locatable
- Enclosing class:
- ExFunction
- public static class ExFunction.f_ncmp
- extends ExFunction.f_cmp
The function node for the <ncmp> expression.
The ncmp expression compares the values of two subexpressions.
It returns -1 if the first value is less than the second, 0
if the values are equal, and 1 if the first value is greater
than the second.
Comparison semantics are defined by the ExValue.compareNoCase
method. If both values are strings, they will be compared
without case sensitivity.
Method Summary |
java.lang.String |
getFunctionName()
Nodes representing functions must have a name. |
boolean |
isNoCase()
|
Methods inherited from class com.waveset.expression.ExNode |
addChild, addChildren, addCommonAttributes, beginTrace, clearOwner, endTrace, eval, evalChild, evalChildToObject, evalChildToString, evalToBoolean, evalToInt, evalToObject, evalToString, getBindingCount, getChild, getChildren, getDecoration, getHiddenVariable, getLocation, getOwner, getParent, isLiteral, parseCommonAttributes, parseXml, postProcess, removeChild, resolveFunction, resolveVariable, setBindingCount, setChildren, setDecoration, setEnvironment, setLocation, setOwner, setOwner, setParent, toXml, toXml, toXml, toXmlAttributes, toXmlChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExFunction.f_ncmp
public ExFunction.f_ncmp()
getFunctionName
public java.lang.String getFunctionName()
- Description copied from class:
ExNode
- Nodes representing functions must have a name.
This name is used in the formatting of default trace
messages and the default XML rendering.
If a node doesn't have a name for some reason, or needs
more control over the trace messges and XML, they
must overload beginTrace, endTrace, and toXml below.
- Overrides:
getFunctionName
in class ExFunction.f_cmp
isNoCase
public boolean isNoCase()
- Overrides:
isNoCase
in class ExFunction.f_cmp