Enum Punctuator
- java.lang.Object
-
- java.lang.Enum<Punctuator>
-
- org.sonar.iac.common.parser.grammar.Punctuator
-
- All Implemented Interfaces:
com.sonar.sslr.api.AstNodeType,Serializable,Comparable<Punctuator>,org.sonar.sslr.grammar.GrammarRuleKey
public enum Punctuator extends Enum<Punctuator> 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 PunctuatorvalueOf(String name)Returns the enum constant of this type with the specified name.static Punctuator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLON
public static final Punctuator COLON
-
COMMA
public static final Punctuator COMMA
-
DOUBLEARROW
public static final Punctuator DOUBLEARROW
-
DOT
public static final Punctuator DOT
-
EQU
public static final Punctuator EQU
-
ELLIPSIS
public static final Punctuator ELLIPSIS
-
LBRACKET
public static final Punctuator LBRACKET
-
RBRACKET
public static final Punctuator RBRACKET
-
LCURLYBRACE
public static final Punctuator LCURLYBRACE
-
RCURLYBRACE
public static final Punctuator RCURLYBRACE
-
LPARENTHESIS
public static final Punctuator LPARENTHESIS
-
RPARENTHESIS
public static final Punctuator RPARENTHESIS
-
OR
public static final Punctuator OR
-
AND
public static final Punctuator AND
-
EQUAL
public static final Punctuator EQUAL
-
NOT_EQUAL
public static final Punctuator NOT_EQUAL
-
GREATER_THAN
public static final Punctuator GREATER_THAN
-
GREATER_OR_EQUAL
public static final Punctuator GREATER_OR_EQUAL
-
LESS_THAN
public static final Punctuator LESS_THAN
-
LESS_OR_EQUAL
public static final Punctuator LESS_OR_EQUAL
-
PLUS
public static final Punctuator PLUS
-
MINUS
public static final Punctuator MINUS
-
DIV
public static final Punctuator DIV
-
PERCENT
public static final Punctuator PERCENT
-
STAR
public static final Punctuator STAR
-
QUERY
public static final Punctuator QUERY
-
EXCLAMATION
public static final Punctuator EXCLAMATION
-
DOUBLE_QUOTE
public static final Punctuator DOUBLE_QUOTE
-
DOLLAR_LCURLY
public static final Punctuator DOLLAR_LCURLY
-
DOLLAR_LCURLY_TILDE
public static final Punctuator DOLLAR_LCURLY_TILDE
-
PERCENT_LCURLY
public static final Punctuator PERCENT_LCURLY
-
PERCENT_LCURLY_TILDE
public static final Punctuator PERCENT_LCURLY_TILDE
-
TILDE_RCURLY
public static final Punctuator TILDE_RCURLY
-
DOLLAR
public static final Punctuator DOLLAR
-
-
Method Detail
-
values
public static Punctuator[] 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 (Punctuator c : Punctuator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Punctuator 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()
-
-