-
Notifications
You must be signed in to change notification settings - Fork 187
/
IASTBinaryTypeIdExpression.java
79 lines (69 loc) · 2.05 KB
/
IASTBinaryTypeIdExpression.java
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*******************************************************************************
* Copyright (c) 2011, 2016 Wind River Systems, Inc. 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:
* Markus Schorn (Wind River Systems) - Initial API and implementation
*******************************************************************************/
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.
* @since 5.3
*/
public interface IASTBinaryTypeIdExpression extends IASTExpression {
public static final ASTNodeProperty OPERAND1 = new ASTNodeProperty(
"IASTBinaryTypeIdExpression.OPERAND1 [IASTTypeId]"); //$NON-NLS-1$
public static final ASTNodeProperty OPERAND2 = new ASTNodeProperty(
"IASTBinaryTypeIdExpression.OPERAND2 [IASTTypeId]"); //$NON-NLS-1$
/**
* Built-in type traits of g++.
*/
public static enum Operator {
__is_base_of,
/** @since 6.0 */
__is_trivially_assignable,
/**
* @since 7.1
*/
__is_same,
/** @since 8.1 */
__is_assignable,
/** @since 8.1 */
__is_nothrow_assignable,
}
/**
* Returns the operator for the expression.
*/
public Operator getOperator();
/**
* Returns the first operand.
*/
public IASTTypeId getOperand1();
/**
* Returns the second operand, or <code>null</code> if it was not provided (content assist).
*/
public IASTTypeId getOperand2();
/**
* Sets the operator for the expression.
*/
public void setOperator(Operator value);
/**
* Sets the first operand.
*/
public void setOperand1(IASTTypeId typeId);
/**
* Sets the second operand.
*/
public void setOperand2(IASTTypeId typeId);
@Override
public IASTBinaryTypeIdExpression copy();
@Override
public IASTBinaryTypeIdExpression copy(CopyStyle style);
}