MCPcopy Index your code
hub / github.com/apache/groovy / isAssignment

Method isAssignment

src/main/java/org/codehaus/groovy/syntax/Types.java:604–606  ·  view source on GitHub ↗

Returns true if the specified type represents an assignment operator. Assignment operators include simple assignment (=) and compound assignments (+=, -=, =, etc.). @param type the token type to check @return true if the type is an assignment operator

(int type)

Source from the content-addressed store, hash-verified

602 * @since 3.0.0
603 */
604 public static boolean isAssignment(int type) {
605 return ofType(type, ASSIGNMENT_OPERATOR);
606 }
607
608 /**
609 * Determines if a specific type belongs to a general type category through the type hierarchy.

Callers 6

visitBinaryExpressionMethod · 0.95
visitBinaryExpressionMethod · 0.95
isAssignmentMethod · 0.95
evaluateEqualMethod · 0.45

Calls 1

ofTypeMethod · 0.95

Tested by

no test coverage detected