public interface ICPPASTTranslationUnit extends IASTTranslationUnit
IASTTranslationUnit.IDependencyTree
IASTNode.CopyStyle
EXPANSION_NAME, MACRO_EXPANSION, OWNED_DECLARATION, PREPROCESSOR_STATEMENT, SCANNER_PROBLEM
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
ICPPASTTranslationUnit |
copy()
Returns a copy of the AST, however the ILocationResolver
and the preprocessor nodes are not copied.
|
ICPPASTTranslationUnit |
copy(IASTNode.CopyStyle style)
Returns a copy of the AST, however the ILocationResolver and the preprocessor nodes are not
copied.
|
ICPPNamespace |
getGlobalNamespace()
Returns the global namespace of the translation unit.
|
IBinding |
resolveBinding()
Deprecated.
|
addDeclaration, flattenLocationsToFile, freeze, getAllPreprocessorStatements, getASTFileSet, getASTNodeFactory, getBuiltinMacroDefinitions, getComments, getContainingFilename, getDeclarations, getDeclarations, getDeclarationsInAST, getDefinitions, getDefinitionsInAST, getDefinitionsInAST, getDependencyTree, getFilePath, getIncludeDirectives, getIndex, getIndexFileSet, getLinkage, getMacroDefinitions, getMacroExpansions, getNodeSelector, getOriginatingTranslationUnit, getParserLanguage, getPreprocessorProblems, getPreprocessorProblemsCount, getReferences, getScope, hasNodesOmitted, isBasedOnIncompleteIndex, isHeaderUnit, selectNodeForLocation, setHasNodesOmitted, setIndex, setIsHeaderUnit, setPragmaOnceSemantics, setSignificantMacros
getDeclarations
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getSignificantMacros, hasPragmaOnceSemantics
ICPPNamespace getGlobalNamespace()
@Deprecated IBinding resolveBinding()
getGlobalNamespace()
ICPPASTTranslationUnit copy()
IASTTranslationUnit
copy
in interface IASTNode
copy
in interface IASTTranslationUnit
IASTNode.copy()
ICPPASTTranslationUnit copy(IASTNode.CopyStyle style)
IASTTranslationUnit
copy
in interface IASTNode
copy
in interface IASTTranslationUnit
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.IASTNode.copy()
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.