Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IProblemBinding

All Superinterfaces:
Cloneable, IBinding, IScope, IType

public interface IProblemBinding
extends IBinding, IScope, IType


Field Summary
static int LAST_PROBLEM
           
static int SEMANTIC_AMBIGUOUS_LOOKUP
          Ambiguous lookup for given name.
static int SEMANTIC_BAD_SCOPE
          there was a problem creating the scope
static int SEMANTIC_CIRCULAR_INHERITANCE
          circular inheritance was detected for a class
static int SEMANTIC_DEFINITION_NOT_FOUND
          the definition for the class/function can not be found
static int SEMANTIC_INVALID_OVERLOAD
          Invalid overload of a particular name.
static int SEMANTIC_INVALID_REDECLARATION
          invalid redeclaration of the name
static int SEMANTIC_INVALID_REDEFINITION
          invalid redefinition of the name
static int SEMANTIC_INVALID_TYPE
          Invalid type provided Required attribugtes: A_TYPE_NAME
static int SEMANTIC_INVALID_USING
          Invalid using directive.
static int SEMANTIC_KNR_PARAMETER_DECLARATION_NOT_FOUND
          the declaration for the K&R style function parameter can not be found
static int SEMANTIC_LABEL_STATEMENT_NOT_FOUND
          a label statement can not be found to match a goto statement
static int SEMANTIC_MEMBER_DECLARATION_NOT_FOUND
           
static int SEMANTIC_NAME_NOT_FOUND
          Attempt to use a symbol that was not found.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IType
EMPTY_TYPE_ARRAY
 
Method Summary
 IASTNode getASTNode()
          get the AST node that this problem was created for
 String getFileName()
          returns the file name this problem occured in if known.
 int getID()
          Returns the problem id
 int getLineNumber()
          returns the line number for this problem if known
 String getMessage()
          Answer a localized, human-readable message string which describes the problem.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getName, getNameCharArray, getScope
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IScope
addBinding, addName, find, flushCache, getBinding, getParent, getPhysicalNode, getScopeName, isFullyCached, removeBinding, setFullyCached
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IType
clone, isSameType
 

Field Detail

SEMANTIC_NAME_NOT_FOUND

static final int SEMANTIC_NAME_NOT_FOUND
Attempt to use a symbol that was not found. Require attributes: A_SYMBOL_NAME

See Also:
#A_SYMBOL_NAME, Constant Field Values

SEMANTIC_INVALID_OVERLOAD

static final int SEMANTIC_INVALID_OVERLOAD
Invalid overload of a particular name. Required attributes: A_SYMBOL_NAME

See Also:
#A_SYMBOL_NAME, Constant Field Values

SEMANTIC_INVALID_USING

static final int SEMANTIC_INVALID_USING
Invalid using directive. Required attributes: A_NAMESPACE_NAME

See Also:
#A_NAMESPACE_NAME, Constant Field Values

SEMANTIC_AMBIGUOUS_LOOKUP

static final int SEMANTIC_AMBIGUOUS_LOOKUP
Ambiguous lookup for given name. Required attributes: A_SYMBOL_NAME

See Also:
#A_SYMBOL_NAME, Constant Field Values

SEMANTIC_INVALID_TYPE

static final int SEMANTIC_INVALID_TYPE
Invalid type provided Required attribugtes: A_TYPE_NAME

See Also:
#A_TYPE_NAME, Constant Field Values

SEMANTIC_CIRCULAR_INHERITANCE

static final int SEMANTIC_CIRCULAR_INHERITANCE
circular inheritance was detected for a class

See Also:
Constant Field Values

SEMANTIC_DEFINITION_NOT_FOUND

static final int SEMANTIC_DEFINITION_NOT_FOUND
the definition for the class/function can not be found

See Also:
Constant Field Values

SEMANTIC_KNR_PARAMETER_DECLARATION_NOT_FOUND

static final int SEMANTIC_KNR_PARAMETER_DECLARATION_NOT_FOUND
the declaration for the K&R style function parameter can not be found

See Also:
Constant Field Values

SEMANTIC_LABEL_STATEMENT_NOT_FOUND

static final int SEMANTIC_LABEL_STATEMENT_NOT_FOUND
a label statement can not be found to match a goto statement

See Also:
Constant Field Values

SEMANTIC_BAD_SCOPE

static final int SEMANTIC_BAD_SCOPE
there was a problem creating the scope

See Also:
Constant Field Values

SEMANTIC_INVALID_REDEFINITION

static final int SEMANTIC_INVALID_REDEFINITION
invalid redefinition of the name

See Also:
Constant Field Values

SEMANTIC_INVALID_REDECLARATION

static final int SEMANTIC_INVALID_REDECLARATION
invalid redeclaration of the name

See Also:
Constant Field Values

SEMANTIC_MEMBER_DECLARATION_NOT_FOUND

static final int SEMANTIC_MEMBER_DECLARATION_NOT_FOUND
See Also:
Constant Field Values

LAST_PROBLEM

static final int LAST_PROBLEM
See Also:
Constant Field Values
Method Detail

getID

int getID()
Returns the problem id

Returns:
the problem id

getMessage

String getMessage()
Answer a localized, human-readable message string which describes the problem.

Returns:
a localized, human-readable message string which describes the problem

getASTNode

IASTNode getASTNode()
get the AST node that this problem was created for

Returns:

getFileName

String getFileName()
returns the file name this problem occured in if known.

Returns:

getLineNumber

int getLineNumber()
returns the line number for this problem if known

Returns:

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.