|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apgrid.grpc.ng.NgExpression
Field Summary | |
static java.lang.String |
elemName
|
static java.lang.String |
NGEXP_STR_BIARITH
|
static java.lang.String |
NGEXP_STR_IMMEDIATE
|
static java.lang.String |
NGEXP_STR_MONOARITH
|
static java.lang.String |
NGEXP_STR_NOVAL
|
static java.lang.String |
NGEXP_STR_SCALARREF
|
static java.lang.String |
NGEXP_STR_TRIARITH
|
static int |
OP_END
|
static int |
OP_VALUE_DIV
|
static int |
OP_VALUE_EQ
|
static int |
OP_VALUE_GE
|
static int |
OP_VALUE_GT
|
static int |
OP_VALUE_LE
|
static int |
OP_VALUE_LT
|
static int |
OP_VALUE_MINUS
|
static int |
OP_VALUE_MOD
|
static int |
OP_VALUE_MUL
|
static int |
OP_VALUE_NEQ
|
static int |
OP_VALUE_PLUS
|
static int |
OP_VALUE_POW
|
static int |
OP_VALUE_TRY
|
static int |
OP_VALUE_UN_MINUS
|
static int |
VALUE_CONST
default, give by constant |
static int |
VALUE_END_OF_OP
end of expression |
static int |
VALUE_ERROR
|
static int |
VALUE_IN_ARG
specified by IN scalar parameter |
static int |
VALUE_NONE
default |
static int |
VALUE_OP
operation code |
Constructor Summary | |
NgExpression()
|
|
NgExpression(org.w3c.dom.Node node)
|
Method Summary | |
long |
calc(int[] arg)
|
java.lang.String |
toText()
|
java.lang.String |
toXMLString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String elemName
public static final int OP_VALUE_PLUS
public static final int OP_VALUE_MINUS
public static final int OP_VALUE_MUL
public static final int OP_VALUE_DIV
public static final int OP_VALUE_MOD
public static final int OP_VALUE_UN_MINUS
public static final int OP_VALUE_POW
public static final int OP_VALUE_EQ
public static final int OP_VALUE_NEQ
public static final int OP_VALUE_GT
public static final int OP_VALUE_LT
public static final int OP_VALUE_GE
public static final int OP_VALUE_LE
public static final int OP_VALUE_TRY
public static final int OP_END
public static final int VALUE_ERROR
public static final int VALUE_NONE
public static final int VALUE_CONST
public static final int VALUE_IN_ARG
public static final int VALUE_OP
public static final int VALUE_END_OF_OP
public static final java.lang.String NGEXP_STR_NOVAL
public static final java.lang.String NGEXP_STR_IMMEDIATE
public static final java.lang.String NGEXP_STR_SCALARREF
public static final java.lang.String NGEXP_STR_MONOARITH
public static final java.lang.String NGEXP_STR_BIARITH
public static final java.lang.String NGEXP_STR_TRIARITH
Constructor Detail |
public NgExpression()
public NgExpression(org.w3c.dom.Node node) throws GrpcException
node
- Method Detail |
public java.lang.String toText()
public long calc(int[] arg) throws NgArgTypeException
arg
-
NgArgTypeException
public java.lang.String toXMLString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |