/******************************************************************************* * Copyright (c) 2010 Martin Schnabel <mb0@mb0.org>. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ package org.axdt.as3.model.impl; import org.axdt.as3.As3EPackage; import org.axdt.as3.model.As3ShiftExpression; import org.axdt.as3.util.As3TypeAccessUtil; import org.axdt.avm.util.AvmTypeAccess; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>As3 Shift Expression</b></em>'. * <!-- end-user-doc --> * <p> * </p> * * @generated */ public class As3ShiftExpressionImpl extends As3BinaryExpressionImpl implements As3ShiftExpression { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected As3ShiftExpressionImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return As3EPackage.Literals.AS3_SHIFT_EXPRESSION; } @Override public AvmTypeAccess resolveType() { if (">>>".equals(getOperation())) return As3TypeAccessUtil.global("uint"); return As3TypeAccessUtil.global("int"); } } //As3ShiftExpressionImpl