org.jetbrains.jet.lang.parsing
Enum JetExpressionParsing.Precedence
java.lang.Object
java.lang.Enum<JetExpressionParsing.Precedence>
org.jetbrains.jet.lang.parsing.JetExpressionParsing.Precedence
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JetExpressionParsing.Precedence>
- Enclosing class:
- JetExpressionParsing
public static enum JetExpressionParsing.Precedence
- extends java.lang.Enum<JetExpressionParsing.Precedence>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
POSTFIX
public static final JetExpressionParsing.Precedence POSTFIX
PREFIX
public static final JetExpressionParsing.Precedence PREFIX
COLON_AS
public static final JetExpressionParsing.Precedence COLON_AS
MULTIPLICATIVE
public static final JetExpressionParsing.Precedence MULTIPLICATIVE
ADDITIVE
public static final JetExpressionParsing.Precedence ADDITIVE
RANGE
public static final JetExpressionParsing.Precedence RANGE
SIMPLE_NAME
public static final JetExpressionParsing.Precedence SIMPLE_NAME
ELVIS
public static final JetExpressionParsing.Precedence ELVIS
IN_OR_IS
public static final JetExpressionParsing.Precedence IN_OR_IS
COMPARISON
public static final JetExpressionParsing.Precedence COMPARISON
EQUALITY
public static final JetExpressionParsing.Precedence EQUALITY
CONJUNCTION
public static final JetExpressionParsing.Precedence CONJUNCTION
DISJUNCTION
public static final JetExpressionParsing.Precedence DISJUNCTION
ASSIGNMENT
public static final JetExpressionParsing.Precedence ASSIGNMENT
values
public static JetExpressionParsing.Precedence[] 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 (JetExpressionParsing.Precedence c : JetExpressionParsing.Precedence.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JetExpressionParsing.Precedence 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 name
java.lang.NullPointerException
- if the argument is null
parseHigherPrecedence
public void parseHigherPrecedence(JetExpressionParsing parser)
parseRightHandSide
public JetNodeType parseRightHandSide(com.intellij.psi.tree.IElementType operation,
JetExpressionParsing parser)
- Parameters:
operation
- the operation sign (e.g. PLUS or IS)parser
- the parser object
- Returns:
- node type of the result
getOperations
@NotNull
public final com.intellij.psi.tree.TokenSet getOperations()