org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage Java Examples
The following examples show how to use
org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CppASTExtractor.java From api-mining with GNU General Public License v3.0 | 5 votes |
@Override protected IASTTranslationUnit getAstForLanguage(final FileContent fc, final IScannerInfo si, final IncludeFileContentProvider ifcp, final IIndex idx, final int options, final IParserLogService log) throws CoreException { return GPPLanguage.getDefault().getASTTranslationUnit(fc, si, ifcp, idx, options, log); }
Example #2
Source File: CppASTExtractor.java From tassal with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override protected IASTTranslationUnit getAstForLanguage(final FileContent fc, final IScannerInfo si, final IncludeFileContentProvider ifcp, final IIndex idx, final int options, final IParserLogService log) throws CoreException { return GPPLanguage.getDefault().getASTTranslationUnit(fc, si, ifcp, idx, options, log); }
Example #3
Source File: CppASTExtractor.java From codemining-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override protected IASTTranslationUnit getAstForLanguage(final FileContent fc, final IScannerInfo si, final IncludeFileContentProvider ifcp, final IIndex idx, final int options, final IParserLogService log) throws CoreException { return GPPLanguage.getDefault().getASTTranslationUnit(fc, si, ifcp, idx, options, log); }
Example #4
Source File: SourceParser.java From cplus-libparser with GNU Lesser General Public License v2.1 | 4 votes |
public void parse(String sourceCode){ FileContent fileContent = new InternalFileContent(defaultFileName, new CharArray(sourceCode)); enableOption(GPPLanguage.OPTION_IS_SOURCE_UNIT); enableOption(ITranslationUnit.AST_SKIP_ALL_HEADERS); parse(fileContent); }