Uses of Enum
spoon.reflect.visitor.OperatorHelper.OperatorAssociativity
Package
Description
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
-
Uses of OperatorHelper.OperatorAssociativity in spoon.reflect.visitor
Modifier and TypeMethodDescriptionOperatorHelper.getOperatorAssociativity(BinaryOperatorKind o)
Get the associativity of a binary operator as defined by https://introcs.cs.princeton.edu/java/11precedence/ All binary operators are left-associative in Java, except for the relational operators that have no associativity (i.e.OperatorHelper.getOperatorAssociativity(UnaryOperatorKind o)
Get the associativity of a unary operator, as defined by https://introcs.cs.princeton.edu/java/11precedence/ All unary operators are right-associative, except for post increment and decrement, which are not associative.Returns the enum constant of this type with the specified name.static OperatorHelper.OperatorAssociativity[]
OperatorHelper.OperatorAssociativity.values()
Returns an array containing the constants of this enum type, in the order they are declared.