blob: 757d8a7a22129fe35074bfca0a90d109d307fdbf [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2008 The University of York.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.epsilon.eol.dom;
import org.eclipse.epsilon.eol.types.EolAnyType;
import org.eclipse.epsilon.eol.types.EolType;
public abstract class Expression extends AbstractExecutableModuleElement {
protected EolType resolvedType = EolAnyType.Instance;
public EolType getResolvedType() {
return resolvedType;
}
public boolean hasResolvedType() {
return resolvedType != null &&
resolvedType != EolAnyType.Instance;
}
}