Package org.sonar.php.api
Enum PHPPunctuator
- java.lang.Object
-
- java.lang.Enum<PHPPunctuator>
-
- org.sonar.php.api.PHPPunctuator
-
- All Implemented Interfaces:
com.sonar.sslr.api.AstNodeType,Serializable,Comparable<PHPPunctuator>,org.sonar.sslr.grammar.GrammarRuleKey
public enum PHPPunctuator extends Enum<PHPPunctuator> implements org.sonar.sslr.grammar.GrammarRuleKey
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static PHPPunctuatorvalueOf(String name)Returns the enum constant of this type with the specified name.static PHPPunctuator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANDEQUAL
public static final PHPPunctuator ANDEQUAL
-
LOWER_BINARY_CAST_PREFIX
public static final PHPPunctuator LOWER_BINARY_CAST_PREFIX
-
UPPER_BINARY_CAST_PREFIX
public static final PHPPunctuator UPPER_BINARY_CAST_PREFIX
-
CONCATEQUAL
public static final PHPPunctuator CONCATEQUAL
-
DIVEQUAL
public static final PHPPunctuator DIVEQUAL
-
EQU
public static final PHPPunctuator EQU
-
EQUAL
public static final PHPPunctuator EQUAL
-
NOTEQUAL
public static final PHPPunctuator NOTEQUAL
-
NOTEQUALBIS
public static final PHPPunctuator NOTEQUALBIS
-
EQUAL2
public static final PHPPunctuator EQUAL2
-
NOTEQUAL2
public static final PHPPunctuator NOTEQUAL2
-
SPACESHIP
public static final PHPPunctuator SPACESHIP
-
LT
public static final PHPPunctuator LT
-
GT
public static final PHPPunctuator GT
-
LE
public static final PHPPunctuator LE
-
GE
public static final PHPPunctuator GE
-
STAR_EQU
public static final PHPPunctuator STAR_EQU
-
STAR_STAR_EQU
public static final PHPPunctuator STAR_STAR_EQU
-
MOD_EQU
public static final PHPPunctuator MOD_EQU
-
MINUS_EQU
public static final PHPPunctuator MINUS_EQU
-
OR_EQU
public static final PHPPunctuator OR_EQU
-
PLUS_EQU
public static final PHPPunctuator PLUS_EQU
-
SL_EQU
public static final PHPPunctuator SL_EQU
-
SR_EQU
public static final PHPPunctuator SR_EQU
-
SL
public static final PHPPunctuator SL
-
SR
public static final PHPPunctuator SR
-
XOR_EQU
public static final PHPPunctuator XOR_EQU
-
NULL_COALESCING_EQU
public static final PHPPunctuator NULL_COALESCING_EQU
-
PLUS
public static final PHPPunctuator PLUS
-
MINUS
public static final PHPPunctuator MINUS
-
TILDA
public static final PHPPunctuator TILDA
-
STAR_STAR
public static final PHPPunctuator STAR_STAR
-
XOR
public static final PHPPunctuator XOR
-
STAR
public static final PHPPunctuator STAR
-
MOD
public static final PHPPunctuator MOD
-
DIV
public static final PHPPunctuator DIV
-
INC
public static final PHPPunctuator INC
-
DEC
public static final PHPPunctuator DEC
-
ANDAND
public static final PHPPunctuator ANDAND
-
AMPERSAND
public static final PHPPunctuator AMPERSAND
-
OROR
public static final PHPPunctuator OROR
-
OR
public static final PHPPunctuator OR
-
NULL_COALESCE
public static final PHPPunctuator NULL_COALESCE
-
ARROW
public static final PHPPunctuator ARROW
-
NULL_SAFE_ARROW
public static final PHPPunctuator NULL_SAFE_ARROW
-
DOUBLEARROW
public static final PHPPunctuator DOUBLEARROW
-
DOLLAR
public static final PHPPunctuator DOLLAR
-
DOLLAR_LCURLY
public static final PHPPunctuator DOLLAR_LCURLY
-
LCURLYBRACE
public static final PHPPunctuator LCURLYBRACE
-
RCURLYBRACE
public static final PHPPunctuator RCURLYBRACE
-
LPARENTHESIS
public static final PHPPunctuator LPARENTHESIS
-
RPARENTHESIS
public static final PHPPunctuator RPARENTHESIS
-
LBRACKET
public static final PHPPunctuator LBRACKET
-
RBRACKET
public static final PHPPunctuator RBRACKET
-
DOT
public static final PHPPunctuator DOT
-
SEMICOLON
public static final PHPPunctuator SEMICOLON
-
COMMA
public static final PHPPunctuator COMMA
-
ELLIPSIS
public static final PHPPunctuator ELLIPSIS
-
AT
public static final PHPPunctuator AT
-
BANG
public static final PHPPunctuator BANG
-
QUERY
public static final PHPPunctuator QUERY
-
DOUBLECOLON
public static final PHPPunctuator DOUBLECOLON
-
COLON
public static final PHPPunctuator COLON
-
NS_SEPARATOR
public static final PHPPunctuator NS_SEPARATOR
-
ATTRIBUTE_OPEN
public static final PHPPunctuator ATTRIBUTE_OPEN
-
-
Method Detail
-
values
public static PHPPunctuator[] 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 (PHPPunctuator c : PHPPunctuator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PHPPunctuator valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
-