|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IASTPreprocessorIncludeStatement
This interface represents a preprocessor #include statement.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
IASTNode.CopyStyle |
Field Summary | |
---|---|
static ASTNodeProperty |
INCLUDE_NAME
INCLUDE_NAME describes the relationship between an include directive and its name. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTPreprocessorStatement |
---|
MACRO_NAME |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
boolean |
createsAST()
Returns true , if an attempt will be or has been made to create AST for the target
of this inclusion. |
org.eclipse.cdt.core.index.IIndexFile |
getImportedIndexFile()
Returns the file from the index that this include statement has pulled in, or null
if the include creates AST or is unresolved or skipped. |
long |
getIncludedFileContentsHash()
Returns a hash-code for the contents of the file included, or 0
if the content has not been parsed. |
long |
getIncludedFileReadTime()
Returns time when the included file was read. |
long |
getIncludedFileSize()
Returns the size of the included file, or -1 if the file was not read. |
long |
getIncludedFileTimestamp()
Returns the modification time of the included file, or -1 if the file was not read. |
org.eclipse.cdt.core.parser.ISignificantMacros[] |
getLoadedVersions()
Returns the list of versions of the target file, each of which is identified by its significant macros, that had been included in this translation-unit prior to this statement. |
IASTName |
getName()
Returns the name of the file as specified in the directive. |
java.lang.String |
getPath()
Returns the absolute location of the file found through #include, or an empty string if include was not resolved. |
boolean |
isActive()
Returns whether this include directive was actually taken. |
boolean |
isErrorInIncludedFile()
Returns true if I/O errors were encountered while reading the included file. |
boolean |
isIncludedFileExported()
Returns true if the included file is exported by the including header. |
boolean |
isResolved()
Returns whether this include file was successfully resolved. |
boolean |
isResolvedByHeuristics()
Returns whether the inclusion was resolved using a heuristics. |
boolean |
isSystemInclude()
Returns whether this is a system include (one specified with angle brackets). |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IFileNomination |
---|
getSignificantMacros, hasPragmaOnceSemantics |
Field Detail |
---|
static final ASTNodeProperty INCLUDE_NAME
INCLUDE_NAME
describes the relationship between an include directive and its name.
Method Detail |
---|
java.lang.String getPath()
IASTName getName()
boolean isSystemInclude()
boolean isActive()
isActive
in interface IASTNode
boolean isResolved()
boolean isResolvedByHeuristics()
org.eclipse.cdt.core.parser.ISignificantMacros[] getLoadedVersions()
long getIncludedFileTimestamp()
long getIncludedFileSize()
long getIncludedFileContentsHash()
0
if the content has not been parsed.
long getIncludedFileReadTime()
boolean isErrorInIncludedFile()
true
if I/O errors were encountered while reading the included file.
boolean isIncludedFileExported()
true
if the included file is exported by the including header.
boolean createsAST()
true
, if an attempt will be or has been made to create AST for the target
of this inclusion.
org.eclipse.cdt.core.index.IIndexFile getImportedIndexFile()
null
if the include creates AST or is unresolved or skipped.
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |