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() |
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, ordinal, valueOf, valueOf
$isInstance
public 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 JsOperator
public String getSymbol()
getSymbol
in interface JsOperator
public boolean isKeyword()
isKeyword
in interface JsOperator
public boolean isLeftAssociative()
isLeftAssociative
in interface JsOperator
public boolean isModifying()
public String toString()
toString
in interface JsOperator
toString
in class Enum<JsUnaryOperator>
Copyright © 2018. All rights reserved.