public enum AssignationType extends Enum<AssignationType>
| Enum Constant and Description |
|---|
ADDITION_ASSIGNMENT |
DEFAULT |
DIVISION_ASSIGNMENT |
MULTIPLICATION_ASSIGNMENT |
SUBTRACTION_ASSIGNMENT |
| Modifier and Type | Method and Description |
|---|---|
org.panda_lang.framework.language.resource.syntax.operator.Operator |
getAssignmentOperator() |
static Optional<AssignationType> |
of(org.panda_lang.framework.language.resource.syntax.operator.Operator operator) |
static AssignationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssignationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssignationType DEFAULT
public static final AssignationType ADDITION_ASSIGNMENT
public static final AssignationType SUBTRACTION_ASSIGNMENT
public static final AssignationType MULTIPLICATION_ASSIGNMENT
public static final AssignationType DIVISION_ASSIGNMENT
public static AssignationType[] values()
for (AssignationType c : AssignationType.values()) System.out.println(c);
public static AssignationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.panda_lang.framework.language.resource.syntax.operator.Operator getAssignmentOperator()
public static Optional<AssignationType> of(org.panda_lang.framework.language.resource.syntax.operator.Operator operator)
Copyright © 2020. All rights reserved.