public enum JsBinaryOperator extends Enum<JsBinaryOperator> implements JsOperator
Enum Constant and Description |
---|
ADD |
AND |
ASG |
ASG_ADD |
ASG_BIT_AND |
ASG_BIT_OR |
ASG_BIT_XOR |
ASG_DIV |
ASG_MOD |
ASG_MUL |
ASG_SHL |
ASG_SHR |
ASG_SHRU |
ASG_SUB |
BIT_AND |
BIT_OR |
BIT_XOR |
COMMA |
DIV |
EQ |
GT |
GTE |
INOP |
INSTANCEOF |
LT |
LTE |
MOD |
MUL |
NEQ |
OR |
REF_EQ |
REF_NEQ |
SHL |
SHR |
SHRU |
SUB |
INFIX, LEFT, POSTFIX, PREFIX
Modifier and Type | Method and Description |
---|---|
int |
getPrecedence() |
String |
getSymbol() |
boolean |
isAssignment() |
boolean |
isKeyword() |
boolean |
isLeftAssociative() |
String |
toString() |
static JsBinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsBinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, valueOf, valueOf
$isInstance
public static final JsBinaryOperator MUL
public static final JsBinaryOperator DIV
public static final JsBinaryOperator MOD
public static final JsBinaryOperator ADD
public static final JsBinaryOperator SUB
public static final JsBinaryOperator SHL
public static final JsBinaryOperator SHR
public static final JsBinaryOperator SHRU
public static final JsBinaryOperator LT
public static final JsBinaryOperator LTE
public static final JsBinaryOperator GT
public static final JsBinaryOperator GTE
public static final JsBinaryOperator INSTANCEOF
public static final JsBinaryOperator INOP
public static final JsBinaryOperator EQ
public static final JsBinaryOperator NEQ
public static final JsBinaryOperator REF_EQ
public static final JsBinaryOperator REF_NEQ
public static final JsBinaryOperator BIT_AND
public static final JsBinaryOperator BIT_XOR
public static final JsBinaryOperator BIT_OR
public static final JsBinaryOperator AND
public static final JsBinaryOperator OR
public static final JsBinaryOperator ASG
public static final JsBinaryOperator ASG_ADD
public static final JsBinaryOperator ASG_SUB
public static final JsBinaryOperator ASG_MUL
public static final JsBinaryOperator ASG_DIV
public static final JsBinaryOperator ASG_MOD
public static final JsBinaryOperator ASG_SHL
public static final JsBinaryOperator ASG_SHR
public static final JsBinaryOperator ASG_SHRU
public static final JsBinaryOperator ASG_BIT_AND
public static final JsBinaryOperator ASG_BIT_OR
public static final JsBinaryOperator ASG_BIT_XOR
public static final JsBinaryOperator COMMA
public static JsBinaryOperator[] values()
for (JsBinaryOperator c : JsBinaryOperator.values()) System.out.println(c);
public static JsBinaryOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getPrecedence()
getPrecedence
in interface JsOperator
public String getSymbol()
getSymbol
in interface JsOperator
public boolean isAssignment()
public boolean isKeyword()
isKeyword
in interface JsOperator
public boolean isLeftAssociative()
isLeftAssociative
in interface JsOperator
public String toString()
toString
in interface JsOperator
toString
in class Enum<JsBinaryOperator>
Copyright © 2018. All rights reserved.