/*******************************************************************************
 * Copyright (c) 2004, 2009 IBM Corporation and others.
 * 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
 *
 * Contributors:
 *     Andrew Niefer (IBM Corporation) - initial API and implementation
 *     Markus Schorn (Wind River Systems)
 *******************************************************************************/
package org.eclipse.cdt.core.dom.ast;

/**
 * @noextend This interface is not intended to be extended by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface IArrayType extends IType {
    /**
     * get the type that this is an array of
     */
    IType getType();
    
    /**
     * Returns the value for the size of the array type, or <code>null</code> if it is unspecified.
     * @since 5.2
     */
    IValue getSize();
    
    /**
     * get the expression that represents the size of this array
     * @throws DOMException
     */
    IASTExpression getArraySizeExpression() throws DOMException;
}
