public class GCCLanguage
extends org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage
Modifier and Type | Field and Description |
---|---|
protected static org.eclipse.cdt.core.dom.parser.c.GCCParserExtensionConfiguration |
C_GNU_PARSER_EXTENSION |
protected static org.eclipse.cdt.core.dom.parser.c.GCCScannerExtensionConfiguration |
C_GNU_SCANNER_EXTENSION |
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 |
---|
GCCLanguage() |
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) |
<T> T |
getAdapter(java.lang.Class<T> adapter) |
static GCCLanguage |
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.c.ICParserExtensionConfiguration |
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.c.GCCScannerExtensionConfiguration C_GNU_SCANNER_EXTENSION
protected static final org.eclipse.cdt.core.dom.parser.c.GCCParserExtensionConfiguration C_GNU_PARSER_EXTENSION
public static final java.lang.String ID
public static GCCLanguage getDefault()
public <T> T getAdapter(java.lang.Class<T> 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.c.ICParserExtensionConfiguration 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.