-
Notifications
You must be signed in to change notification settings - Fork 187
/
ISemanticProblem.java
67 lines (63 loc) · 2.18 KB
/
ISemanticProblem.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
/*******************************************************************************
* Copyright (c) 2010, 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 - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast;
/**
* Base interface for all semantic problems: {@link IProblemBinding}, {@link IProblemType}
*
* @since 5.3
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ISemanticProblem {
int BINDING_NOT_FOUND = 1;
int BINDING_INVALID_OVERLOAD = 2;
int BINDING_INVALID_USING = 3;
int BINDING_AMBIGUOUS_LOOKUP = 4;
int BINDING_INVALID_TYPE = 5;
int BINDING_CIRCULAR_INHERITANCE = 6;
int BINDING_DEFINITION_NOT_FOUND = 7;
int BINDING_KNR_PARAMETER_DECLARATION_NOT_FOUND = 8;
int BINDING_LABEL_STATEMENT_NOT_FOUND = 9;
int BINDING_BAD_SCOPE = 10;
int BINDING_INVALID_REDEFINITION = 11;
int BINDING_INVALID_REDECLARATION = 12;
int BINDING_MEMBER_DECLARATION_NOT_FOUND = 13;
int BINDING_RECURSION_IN_LOOKUP = 14;
int BINDING_INVALID_TEMPLATE_ARGUMENTS = 15;
int BINDING_NO_CLASS = 16;
/** @since 8.1 */
int BINDING_INVALID_STRUCTURED_BINDING_INITIALIZER = 17;
int TYPE_NO_NAME = 10000;
int TYPE_UNRESOLVED_NAME = 10001;
int TYPE_AUTO_FOR_NON_STATIC_FIELD = 10002;
int TYPE_CANNOT_DEDUCE_AUTO_TYPE = 10003;
int TYPE_UNKNOWN_FOR_EXPRESSION = 10004;
int TYPE_NOT_PERSISTED = 10005;
/** @since 5.6 */
int TYPE_ENUMERATION_EXPECTED = 10006;
/** @since 6.1 */
int TYPE_CANNOT_DEDUCE_DECLTYPE_AUTO_TYPE = 10007;
/** @since 6.3 */
int TYPE_AUTO_FOR_VIRTUAL_METHOD = 10008;
/** @since 6.9 */
int TYPE_CANNOT_DEDUCE_STRUCTURED_BINDING_TYPE = 10009;
/**
* Returns the ID of the problem.
*/
int getID();
/**
* A human-readable message that describes the problem.
*/
String getMessage();
}