blob: a64904255ef7b5551e9b5b58b375ba86fd13e232 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*******************************************************************************
* Copyright (c) 2004, 2014 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Andrew Niefer (IBM Corporation) - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast;
/**
* Interface for enumerators.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IEnumerator extends IBinding {
/**
* Returns the type of this enumeration. The type of an enumerator
* is the enumeration in which it is declared.
*
* @return the type of the enumeration
*/
public IType getType();
/**
* Returns the value assigned to this enumerator.
* @since 5.1
*/
public IValue getValue();
}
|