/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ public AssignmentOperator createAssignmentOperatorFromString( EDataType eDataType, String initialValue) { AssignmentOperator result = AssignmentOperator.get(initialValue); if (result == null) throw new IllegalArgumentException( "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
// public static final Expression EMPTY_EXPRESSION = new Constant(null, null, ""); static { for (AssignmentOperator op : AssignmentOperator.values()) map(assignOps, assignOpsRev, op.toString(), op); for (UnaryOperator op : UnaryOperator.values()) map(unOps, unOpsRev, op.toString(), op); for (BinaryOperator op : BinaryOperator.values()) map(binOps, binOpsRev, op.toString(), op); }