public static enum JetExpressionParsing.Precedence extends java.lang.Enum<JetExpressionParsing.Precedence>
Enum Constant and Description |
---|
ADDITIVE |
ASSIGNMENT |
COLON_AS |
COMPARISON |
CONJUNCTION |
DISJUNCTION |
ELVIS |
EQUALITY |
IN_OR_IS |
MULTIPLICATIVE |
POSTFIX |
PREFIX |
RANGE |
SIMPLE_NAME |
Modifier and Type | Method and Description |
---|---|
com.intellij.psi.tree.TokenSet |
getOperations() |
void |
parseHigherPrecedence(JetExpressionParsing parser) |
JetNodeType |
parseRightHandSide(com.intellij.psi.tree.IElementType operation,
JetExpressionParsing parser) |
static JetExpressionParsing.Precedence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JetExpressionParsing.Precedence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JetExpressionParsing.Precedence POSTFIX
public static final JetExpressionParsing.Precedence PREFIX
public static final JetExpressionParsing.Precedence COLON_AS
public static final JetExpressionParsing.Precedence MULTIPLICATIVE
public static final JetExpressionParsing.Precedence ADDITIVE
public static final JetExpressionParsing.Precedence RANGE
public static final JetExpressionParsing.Precedence SIMPLE_NAME
public static final JetExpressionParsing.Precedence ELVIS
public static final JetExpressionParsing.Precedence IN_OR_IS
public static final JetExpressionParsing.Precedence COMPARISON
public static final JetExpressionParsing.Precedence EQUALITY
public static final JetExpressionParsing.Precedence CONJUNCTION
public static final JetExpressionParsing.Precedence DISJUNCTION
public static final JetExpressionParsing.Precedence ASSIGNMENT
public static JetExpressionParsing.Precedence[] values()
for (JetExpressionParsing.Precedence c : JetExpressionParsing.Precedence.values()) System.out.println(c);
public static JetExpressionParsing.Precedence valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void parseHigherPrecedence(JetExpressionParsing parser)
public JetNodeType parseRightHandSide(com.intellij.psi.tree.IElementType operation, JetExpressionParsing parser)
operation
- the operation sign (e.g. PLUS or IS)parser
- the parser objectpublic final com.intellij.psi.tree.TokenSet getOperations()