public class SemanticQueries
extends java.lang.Object
| Constructor and Description |
|---|
SemanticQueries() |
| Modifier and Type | Method and Description |
|---|---|
static ICPPMethod[] |
getPureVirtualMethods(ICPPClassType classType)
Returns all pure virtual methods of a class.
|
static ICPPMethod[] |
getPureVirtualMethods(ICPPClassType classType,
IASTNode point)
Deprecated.
Use
SemanticQueriesgetPureVirtualMethods(ICPPClassType) instead. |
static boolean |
isCopyConstructor(ICPPConstructor constructor) |
static boolean |
isCopyOrMoveConstructor(ICPPConstructor constructor) |
static boolean |
isMoveConstructor(ICPPConstructor constructor) |
static boolean |
isUnknownBuiltin(IProblemBinding binding,
IASTNode node)
Returns whether a problem binding represents a name resolution error due to an unknown built-in.
|
public static boolean isCopyOrMoveConstructor(ICPPConstructor constructor)
public static boolean isMoveConstructor(ICPPConstructor constructor)
public static boolean isCopyConstructor(ICPPConstructor constructor)
public static ICPPMethod[] getPureVirtualMethods(ICPPClassType classType)
classType - the class whose pure virtual methods should be returned@Deprecated public static ICPPMethod[] getPureVirtualMethods(ICPPClassType classType, IASTNode point)
SemanticQueriesgetPureVirtualMethods(ICPPClassType) instead.public static boolean isUnknownBuiltin(IProblemBinding binding, IASTNode node)
binding - The problem binding to test.node - Any node in the AST. Used to access the AST root.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.