Package org.jboss.jdeparser
Enum Tokens.$PUNCT.BINOP
- java.lang.Object
-
- java.lang.Enum<Tokens.$PUNCT.BINOP>
-
- org.jboss.jdeparser.Tokens.$PUNCT.BINOP
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Tokens.$PUNCT.BINOP>,Token,Writable
- Enclosing class:
- Tokens.$PUNCT
static enum Tokens.$PUNCT.BINOP extends java.lang.Enum<Tokens.$PUNCT.BINOP> implements Token
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARROWASSIGNASSIGN_BANDASSIGN_BORASSIGN_BXORASSIGN_DIVASSIGN_LSHRASSIGN_MINUSASSIGN_MODASSIGN_PLUSASSIGN_SHLASSIGN_SHRASSIGN_TIMESBANDBORBXORDBL_COLONDIVEQGEGTLANDLELORLSHRLTMINUSMODNEPLUSSHLSHRTIMES
-
Field Summary
Fields Modifier and Type Field Description private FormatPreferences.SpacespacingRuleprivate java.lang.Stringstr
-
Constructor Summary
Constructors Modifier Constructor Description privateBINOP(java.lang.String str, FormatPreferences.Space spacingRule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatPreferences.SpacegetSpacingRule()static Tokens.$PUNCT.BINOPvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Tokens.$PUNCT.BINOP[]values()Returns an array containing the constants of this enum type, in the order they are declared.voidwrite(SourceFileWriter writer)
-
-
-
Enum Constant Detail
-
PLUS
public static final Tokens.$PUNCT.BINOP PLUS
-
MINUS
public static final Tokens.$PUNCT.BINOP MINUS
-
TIMES
public static final Tokens.$PUNCT.BINOP TIMES
-
DIV
public static final Tokens.$PUNCT.BINOP DIV
-
MOD
public static final Tokens.$PUNCT.BINOP MOD
-
BAND
public static final Tokens.$PUNCT.BINOP BAND
-
BOR
public static final Tokens.$PUNCT.BINOP BOR
-
BXOR
public static final Tokens.$PUNCT.BINOP BXOR
-
LAND
public static final Tokens.$PUNCT.BINOP LAND
-
LOR
public static final Tokens.$PUNCT.BINOP LOR
-
SHR
public static final Tokens.$PUNCT.BINOP SHR
-
LSHR
public static final Tokens.$PUNCT.BINOP LSHR
-
SHL
public static final Tokens.$PUNCT.BINOP SHL
-
EQ
public static final Tokens.$PUNCT.BINOP EQ
-
NE
public static final Tokens.$PUNCT.BINOP NE
-
LT
public static final Tokens.$PUNCT.BINOP LT
-
GT
public static final Tokens.$PUNCT.BINOP GT
-
LE
public static final Tokens.$PUNCT.BINOP LE
-
GE
public static final Tokens.$PUNCT.BINOP GE
-
ASSIGN
public static final Tokens.$PUNCT.BINOP ASSIGN
-
ASSIGN_PLUS
public static final Tokens.$PUNCT.BINOP ASSIGN_PLUS
-
ASSIGN_MINUS
public static final Tokens.$PUNCT.BINOP ASSIGN_MINUS
-
ASSIGN_TIMES
public static final Tokens.$PUNCT.BINOP ASSIGN_TIMES
-
ASSIGN_DIV
public static final Tokens.$PUNCT.BINOP ASSIGN_DIV
-
ASSIGN_MOD
public static final Tokens.$PUNCT.BINOP ASSIGN_MOD
-
ASSIGN_BAND
public static final Tokens.$PUNCT.BINOP ASSIGN_BAND
-
ASSIGN_BOR
public static final Tokens.$PUNCT.BINOP ASSIGN_BOR
-
ASSIGN_BXOR
public static final Tokens.$PUNCT.BINOP ASSIGN_BXOR
-
ASSIGN_SHR
public static final Tokens.$PUNCT.BINOP ASSIGN_SHR
-
ASSIGN_LSHR
public static final Tokens.$PUNCT.BINOP ASSIGN_LSHR
-
ASSIGN_SHL
public static final Tokens.$PUNCT.BINOP ASSIGN_SHL
-
DBL_COLON
public static final Tokens.$PUNCT.BINOP DBL_COLON
-
ARROW
public static final Tokens.$PUNCT.BINOP ARROW
-
-
Field Detail
-
str
private final java.lang.String str
-
spacingRule
private final FormatPreferences.Space spacingRule
-
-
Constructor Detail
-
BINOP
private BINOP(java.lang.String str, FormatPreferences.Space spacingRule)
-
-
Method Detail
-
values
public static Tokens.$PUNCT.BINOP[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Tokens.$PUNCT.BINOP c : Tokens.$PUNCT.BINOP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tokens.$PUNCT.BINOP valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
write
public void write(SourceFileWriter writer) throws java.io.IOException
-
getSpacingRule
public FormatPreferences.Space getSpacingRule()
-
-