org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTTranslationUnit
- All Superinterfaces:
- IASTDeclarationListOwner, IASTNode, IASTTranslationUnit
public interface ICPPASTTranslationUnit
- extends IASTTranslationUnit
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTTranslationUnit |
addDeclaration, flattenLocationsToFile, freeze, getAllPreprocessorStatements, getASTFileSet, getASTNodeFactory, getBuiltinMacroDefinitions, getComments, getContainingFilename, getDeclarations, getDeclarations, getDeclarationsInAST, getDefinitions, getDefinitionsInAST, getDependencyTree, getFilePath, getIncludeDirectives, getIndex, getIndexFileSet, getLinkage, getMacroDefinitions, getMacroExpansions, getNodeSelector, getOriginatingTranslationUnit, getParserLanguage, getPreprocessorProblems, getPreprocessorProblemsCount, getReferences, getScope, isHeaderUnit, selectNodeForLocation, setIndex, setIsHeaderUnit |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
resolveBinding
IBinding resolveBinding()
- Resolve the binding for translation unit.
- Returns:
IBinding
copy
ICPPASTTranslationUnit copy()
- Description copied from interface:
IASTNode
- Returns a mutable copy of the tree rooted at this node. The following postconditions hold:
copy.getParent() == null
copy.getPropertyInParent() == null
copy.isFrozen() == false
Preprocessor nodes do not currently support being copied.
Implicit name nodes are not copied, instead they can be regenerated if required.
Calling this method is equivalent
- Specified by:
copy in interface IASTNode- Specified by:
copy in interface IASTTranslationUnit
- Since:
- 5.1
- See Also:
IASTNode.copy()
copy
ICPPASTTranslationUnit copy(IASTNode.CopyStyle style)
- Description copied from interface:
IASTNode
- Returns a mutable copy of the tree rooted at this node. The following postconditions hold:
copy.getParent() == null
copy.getPropertyInParent() == null
copy.isFrozen() == false
Preprocessor nodes do not currently support being copied.
Implicit name nodes are not copied, instead they can be regenerated if required.
- Specified by:
copy in interface IASTNode- Specified by:
copy in interface IASTTranslationUnit
- Parameters:
style - IASTNode.CopyStyle create a copy with or without locations. Please see
IASTNode.CopyStyle for restrictions on copies with Locations.- Since:
- 5.3
- See Also:
IASTNode.copy()
Copyright (c) IBM Corp. and others 2004, 2010. All Rights Reserved.