org.jetbrains.kotlin.parsing
Enum JetExpressionParsing.Precedence

java.lang.Object
  extended by java.lang.Enum<JetExpressionParsing.Precedence>
      extended by org.jetbrains.kotlin.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>


Enum Constant Summary
ADDITIVE
           
AS
           
ASSIGNMENT
           
COMPARISON
           
CONJUNCTION
           
DISJUNCTION
           
ELVIS
           
EQUALITY
           
IN_OR_IS
           
MULTIPLICATIVE
           
POSTFIX
           
PREFIX
           
RANGE
           
SIMPLE_NAME
           
 
Method Summary
 com.intellij.psi.tree.TokenSet getOperations()
           
 void parseHigherPrecedence(JetExpressionParsing parser)
           
 KtNodeType 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.
 
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
 

Enum Constant Detail

POSTFIX

public static final JetExpressionParsing.Precedence POSTFIX

PREFIX

public static final JetExpressionParsing.Precedence PREFIX

AS

public static final JetExpressionParsing.Precedence 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
Method Detail

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 KtNodeType 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()