public interface ICPPASTTranslationUnit extends IASTTranslationUnit
IASTTranslationUnit.IDependencyTreeIASTNode.CopyStyleEXPANSION_NAME, MACRO_EXPANSION, OWNED_DECLARATION, PREPROCESSOR_STATEMENT, SCANNER_PROBLEMEMPTY_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.
|
IBinding |
resolveBinding()
Resolve the binding for translation unit.
|
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, hasNodesOmitted, isBasedOnIncompleteIndex, isHeaderUnit, selectNodeForLocation, setHasNodesOmitted, setIndex, setIsHeaderUnit, setPragmaOnceSemantics, setSignificantMacrosgetDeclarationsaccept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentgetSignificantMacros, hasPragmaOnceSemanticsIBinding resolveBinding()
IBindingICPPASTTranslationUnit copy()
IASTTranslationUnitcopy in interface IASTNodecopy in interface IASTTranslationUnitIASTNode.copy()ICPPASTTranslationUnit copy(IASTNode.CopyStyle style)
IASTTranslationUnitcopy in interface IASTNodecopy in interface IASTTranslationUnitstyle - 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.