public interface IName
Modifier and Type | Field and Description |
---|---|
static IName[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
IASTFileLocation |
getFileLocation()
Same as
IASTNode.getFileLocation() |
char[] |
getSimpleID()
Returns the name without qualification and without template arguments.
|
boolean |
isDeclaration()
Is this name being used in the AST as the introduction of a declaration?
|
boolean |
isDefinition()
Is this name being used in the AST as a definition rather than a declaration?
|
boolean |
isReference()
Is this name being used in the AST as a reference rather than a declaration?
|
char[] |
toCharArray()
Deprecated.
Using this method is problematic, because for names from the
index never contain qualification or template arguments, which is different
for names from the AST.
Use
getSimpleID() , instead. |
static final IName[] EMPTY_ARRAY
char[] getSimpleID()
@Deprecated char[] toCharArray()
getSimpleID()
, instead.boolean isDeclaration()
boolean isReference()
boolean isDefinition()
IASTFileLocation getFileLocation()
IASTNode.getFileLocation()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.