
public enum JsUnaryOperator extends Enum<JsUnaryOperator> implements JsOperator
| Enum Constant and Description |
|---|
BIT_NOT |
DEC |
DELETE |
INC |
NEG |
NOT |
POS |
TYPEOF |
VOID |
INFIX, LEFT, POSTFIX, PREFIX| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
String |
getSymbol() |
boolean |
isKeyword() |
boolean |
isLeftAssociative() |
boolean |
isModifying() |
boolean |
isPrecedenceLessThan(JsOperator other) |
boolean |
isValidInfix() |
boolean |
isValidPostfix() |
boolean |
isValidPrefix() |
String |
toString() |
static JsUnaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsUnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, valueOf, valueOfpublic static final JsUnaryOperator BIT_NOT
public static final JsUnaryOperator DEC
public static final JsUnaryOperator DELETE
public static final JsUnaryOperator INC
public static final JsUnaryOperator NEG
public static final JsUnaryOperator POS
public static final JsUnaryOperator NOT
public static final JsUnaryOperator TYPEOF
public static final JsUnaryOperator VOID
public static JsUnaryOperator[] values()
for (JsUnaryOperator c : JsUnaryOperator.values()) System.out.println(c);
public static JsUnaryOperator 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 JsOperatorpublic String getSymbol()
getSymbol in interface JsOperatorpublic boolean isKeyword()
isKeyword in interface JsOperatorpublic boolean isLeftAssociative()
isLeftAssociative in interface JsOperatorpublic boolean isModifying()
public boolean isPrecedenceLessThan(JsOperator other)
isPrecedenceLessThan in interface JsOperatorpublic boolean isValidInfix()
isValidInfix in interface JsOperatorpublic boolean isValidPostfix()
isValidPostfix in interface JsOperatorpublic boolean isValidPrefix()
isValidPrefix in interface JsOperatorpublic String toString()
toString in interface JsOperatortoString in class Enum<JsUnaryOperator>Copyright © 2018. All rights reserved.