blob: de2fc710436d6c81ac5165788dbfaa0cb70324ca (
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
37
38
39
|
/*******************************************************************************
* Copyright (c) 2005 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:
* IBM Rational Software - Initial API and implementation */
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast.gnu;
import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression;
/**
* There are GNU language extensions that apply to both GCC and G++. Unary
* expressions for _alignOf() and typeof() along the lines of sizeof().
*
* @author jcamelon
*/
public interface IGNUASTUnaryExpression extends IASTUnaryExpression {
/**
* <code>op_typeof</code> is used for typeof( unaryExpression ) type
* expressions.
*/
public static final int op_typeof = IASTUnaryExpression.op_last + 1;
/**
* <code>op_alignOf</code> is used for __alignOf( unaryExpression ) type
* expressions.
*/
public static final int op_alignOf = IASTUnaryExpression.op_last + 2;
/**
* <code>op_last</code> is available for sub-interfaces.
*/
public static final int op_last = op_alignOf;
}
|