com.lyncode.jtwig.parser
Enum JtwigSymbol
java.lang.Object
java.lang.Enum<JtwigSymbol>
com.lyncode.jtwig.parser.JtwigSymbol
- All Implemented Interfaces:
- Serializable, Comparable<JtwigSymbol>
public enum JtwigSymbol
- extends Enum<JtwigSymbol>
DOT
public static final JtwigSymbol DOT
OPEN_BRACKET
public static final JtwigSymbol OPEN_BRACKET
CLOSE_BRACKET
public static final JtwigSymbol CLOSE_BRACKET
DIV
public static final JtwigSymbol DIV
COMMA
public static final JtwigSymbol COMMA
OPEN_CURLY_BRACKET
public static final JtwigSymbol OPEN_CURLY_BRACKET
CLOSE_CURLY_BRACKET
public static final JtwigSymbol CLOSE_CURLY_BRACKET
OPEN_PARENT
public static final JtwigSymbol OPEN_PARENT
CLOSE_PARENT
public static final JtwigSymbol CLOSE_PARENT
DIVISION
public static final JtwigSymbol DIVISION
PLUS
public static final JtwigSymbol PLUS
MINUS
public static final JtwigSymbol MINUS
TIMES
public static final JtwigSymbol TIMES
PERCENTAGE
public static final JtwigSymbol PERCENTAGE
AND
public static final JtwigSymbol AND
OR
public static final JtwigSymbol OR
AND_WORD
public static final JtwigSymbol AND_WORD
OR_WORD
public static final JtwigSymbol OR_WORD
EQUALITY
public static final JtwigSymbol EQUALITY
DIFFERENT
public static final JtwigSymbol DIFFERENT
GREAT
public static final JtwigSymbol GREAT
LESS
public static final JtwigSymbol LESS
GREAT_OR_EQUAL
public static final JtwigSymbol GREAT_OR_EQUAL
LESS_OR_EQUAL
public static final JtwigSymbol LESS_OR_EQUAL
NOT
public static final JtwigSymbol NOT
NOT_WORD
public static final JtwigSymbol NOT_WORD
OPEN_OUTPUT
public static final JtwigSymbol OPEN_OUTPUT
CLOSE_OUTPUT
public static final JtwigSymbol CLOSE_OUTPUT
PIPE
public static final JtwigSymbol PIPE
CLOSE_CODE
public static final JtwigSymbol CLOSE_CODE
OPEN_CODE
public static final JtwigSymbol OPEN_CODE
ATTR
public static final JtwigSymbol ATTR
QUOTE
public static final JtwigSymbol QUOTE
TWO_DOTS
public static final JtwigSymbol TWO_DOTS
QUESTION
public static final JtwigSymbol QUESTION
values
public static JtwigSymbol[] 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 (JtwigSymbol c : JtwigSymbol.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JtwigSymbol 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 name
NullPointerException - if the argument is null
getSymbol
public String getSymbol()
Copyright © 2014. All Rights Reserved.