public class GPPLanguage
extends org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
Modifier and Type | Field and Description |
---|---|
protected static org.eclipse.cdt.core.dom.parser.cpp.GPPParserExtensionConfiguration |
CPP_GNU_PARSER_EXTENSION |
protected static org.eclipse.cdt.core.dom.parser.cpp.GPPScannerExtensionConfiguration |
CPP_GNU_SCANNER_EXTENSION |
static int |
GNU_LATEST_VERSION_MAJOR |
static int |
GNU_LATEST_VERSION_MINOR |
static java.lang.String |
ID |
OPTION_ADD_COMMENTS, OPTION_IS_SOURCE_UNIT, OPTION_NO_IMAGE_LOCATIONS, OPTION_PARSE_INACTIVE_CODE, OPTION_SKIP_FUNCTION_BODIES, OPTION_SKIP_TRIVIAL_EXPRESSIONS_IN_AGGREGATE_INITIALIZERS
Constructor and Description |
---|
GPPLanguage() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.cdt.core.dom.parser.ISourceCodeParser |
createParser(org.eclipse.cdt.core.parser.IScanner scanner,
org.eclipse.cdt.core.parser.ParserMode parserMode,
org.eclipse.cdt.core.parser.IParserLogService logService,
org.eclipse.cdt.core.index.IIndex index) |
protected org.eclipse.cdt.core.dom.parser.ISourceCodeParser |
createParser(org.eclipse.cdt.core.parser.IScanner scanner,
org.eclipse.cdt.core.parser.ParserMode parserMode,
org.eclipse.cdt.core.parser.IParserLogService logService,
org.eclipse.cdt.core.index.IIndex index,
int options,
org.eclipse.cdt.core.parser.IParserSettings settings) |
java.lang.Object |
getAdapter(java.lang.Class adapter) |
static GPPLanguage |
getDefault() |
java.lang.String |
getId()
Return the language id for this language.
|
int |
getLinkageID()
Return the id of the linkage this language contributes to.
|
protected org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration |
getParserExtensionConfiguration()
Returns the extension configuration used for creating the parser.
|
protected org.eclipse.cdt.core.parser.ParserLanguage |
getParserLanguage() |
protected org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration |
getScannerExtensionConfiguration()
Deprecated.
Since 5.4 not called by the framework. Override
getScannerExtensionConfiguration(IScannerInfo) instead. |
protected org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration |
getScannerExtensionConfiguration(org.eclipse.cdt.core.parser.IScannerInfo info) |
createModelBuilder, createParser, createParser, createScanner, createScanner, getASTTranslationUnit, getASTTranslationUnit, getASTTranslationUnit, getBuiltinTypes, getCompletionNode, getCompletionNode, getKeywords, getPreprocessorKeywords, getSelectedNames
getName
protected static final org.eclipse.cdt.core.dom.parser.cpp.GPPScannerExtensionConfiguration CPP_GNU_SCANNER_EXTENSION
protected static final org.eclipse.cdt.core.dom.parser.cpp.GPPParserExtensionConfiguration CPP_GNU_PARSER_EXTENSION
public static final java.lang.String ID
public static final int GNU_LATEST_VERSION_MAJOR
public static final int GNU_LATEST_VERSION_MINOR
public static GPPLanguage getDefault()
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
public java.lang.String getId()
ILanguage
public int getLinkageID()
ILanguage
ILinkage
@Deprecated protected org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration getScannerExtensionConfiguration()
getScannerExtensionConfiguration(IScannerInfo)
instead.getScannerExtensionConfiguration
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
protected org.eclipse.cdt.core.dom.parser.IScannerExtensionConfiguration getScannerExtensionConfiguration(org.eclipse.cdt.core.parser.IScannerInfo info)
getScannerExtensionConfiguration
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
null
.protected org.eclipse.cdt.core.dom.parser.cpp.ICPPParserExtensionConfiguration getParserExtensionConfiguration()
protected org.eclipse.cdt.core.dom.parser.ISourceCodeParser createParser(org.eclipse.cdt.core.parser.IScanner scanner, org.eclipse.cdt.core.parser.ParserMode parserMode, org.eclipse.cdt.core.parser.IParserLogService logService, org.eclipse.cdt.core.index.IIndex index)
createParser
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
protected org.eclipse.cdt.core.dom.parser.ISourceCodeParser createParser(org.eclipse.cdt.core.parser.IScanner scanner, org.eclipse.cdt.core.parser.ParserMode parserMode, org.eclipse.cdt.core.parser.IParserLogService logService, org.eclipse.cdt.core.index.IIndex index, int options, org.eclipse.cdt.core.parser.IParserSettings settings)
createParser
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
protected org.eclipse.cdt.core.parser.ParserLanguage getParserLanguage()
getParserLanguage
in class org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.