Eclipse CDT
7.0

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

All Known Subinterfaces:
IASTPreprocessorIncludeStatement, IASTTranslationUnit, ICPPASTTranslationUnit

public interface IFileNomination

Interface for constructs that nominate a file for an AST: IASTTranslationUnit, IASTPreprocessorIncludeStatement, IIndexFile.

Since:
5.4

Method Summary
 org.eclipse.cdt.core.parser.ISignificantMacros getSignificantMacros()
          Returns macros relevant to parsing of the file included by this include statement and their definitions at the point of the include.
 boolean hasPragmaOnceSemantics()
          Returns whether pragma once semantics has been detected when parsing the translation unit.
 

Method Detail

getSignificantMacros

org.eclipse.cdt.core.parser.ISignificantMacros getSignificantMacros()
                                                                    throws CoreException
Returns macros relevant to parsing of the file included by this include statement and their definitions at the point of the include.

This method should only be called after the included file has been parsed. The method will return ISignificantMacros.NONE if it is called prematurely.

Throws:
CoreException

hasPragmaOnceSemantics

boolean hasPragmaOnceSemantics()
                               throws CoreException
Returns whether pragma once semantics has been detected when parsing the translation unit.

Throws:
CoreException

Eclipse CDT
7.0

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