org.eclipse.ptp.pldt.common
Class ArtifactAnalysisBase
java.lang.Object
org.eclipse.ptp.pldt.common.ArtifactAnalysisBase
- All Implemented Interfaces:
- IArtifactAnalysis
public abstract class ArtifactAnalysisBase
- extends Object
- implements IArtifactAnalysis
Base class for implementations of IArtifactAnalysis that handle C and
C++.
This class contains the getAST(ITranslationUnit) utility method, which returns an IASTTranslationUnit for an
ITranslationUnit.
- Since:
- 6.0
|
Method Summary |
protected IASTTranslationUnit |
getAST(ITranslationUnit tu)
Get AST from index, not full translation unti |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactAnalysisBase
public ArtifactAnalysisBase()
getAST
protected IASTTranslationUnit getAST(ITranslationUnit tu)
- Get AST from index, not full translation unti
- Parameters:
tu - translation unit from which to get the AST
- Returns:
IASTTranslationUnit or null
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.