public class AssemblyLanguage extends AbstractLanguage implements IAsmLanguage
| Modifier and Type | Field and Description |
|---|---|
static AssemblyLanguage |
DEFAULT_INSTANCE |
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 |
|---|
AssemblyLanguage() |
| Modifier and Type | Method and Description |
|---|---|
IContributedModelBuilder |
createModelBuilder(ITranslationUnit tu)
Used to override the default model building behavior for a translation unit.
|
IASTTranslationUnit |
getASTTranslationUnit(org.eclipse.cdt.core.parser.CodeReader reader,
org.eclipse.cdt.core.parser.IScannerInfo scanInfo,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator,
org.eclipse.cdt.core.index.IIndex index,
org.eclipse.cdt.core.parser.IParserLogService log)
Deprecated.
|
IASTCompletionNode |
getCompletionNode(org.eclipse.cdt.core.parser.CodeReader reader,
org.eclipse.cdt.core.parser.IScannerInfo scanInfo,
org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator,
org.eclipse.cdt.core.index.IIndex index,
org.eclipse.cdt.core.parser.IParserLogService log,
int offset)
Deprecated.
|
static AssemblyLanguage |
getDefault() |
java.lang.String[] |
getDirectiveKeywords()
Get the set of assembler directives defined for this variant.
|
java.lang.String |
getId()
Return the language id for this language.
|
char[] |
getLineCommentCharacters()
Get the set of valid line comment characters defined for this assembly variant.
|
char |
getLineSeparatorCharacter()
Get the line separator character defined for this assembly variant.
|
int |
getLinkageID()
Return the id of the linkage this language contributes to.
|
java.lang.String[] |
getPreprocessorKeywords()
Get the preprocessor keywords (directives) defined for this variant.
|
IASTName[] |
getSelectedNames(IASTTranslationUnit ast,
int start,
int length) |
void |
setInitializationData(IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data) |
getASTTranslationUnit, getASTTranslationUnit, getCompletionNode, getNamepublic static final AssemblyLanguage DEFAULT_INSTANCE
public static AssemblyLanguage getDefault()
public IContributedModelBuilder createModelBuilder(ITranslationUnit tu)
ILanguagecreateModelBuilder in interface ILanguagetu - the ITranslationUnit to be parsed (non-null)IModelBuilder, which parses the given translation unit and
returns the ICElements of its model, or null
to parse using the default CDT model builder@Deprecated public IASTTranslationUnit getASTTranslationUnit(org.eclipse.cdt.core.parser.CodeReader reader, org.eclipse.cdt.core.parser.IScannerInfo scanInfo, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator, org.eclipse.cdt.core.index.IIndex index, org.eclipse.cdt.core.parser.IParserLogService log) throws CoreException
getASTTranslationUnit in interface ILanguageCoreException@Deprecated public IASTCompletionNode getCompletionNode(org.eclipse.cdt.core.parser.CodeReader reader, org.eclipse.cdt.core.parser.IScannerInfo scanInfo, org.eclipse.cdt.core.dom.ICodeReaderFactory fileCreator, org.eclipse.cdt.core.index.IIndex index, org.eclipse.cdt.core.parser.IParserLogService log, int offset) throws CoreException
getCompletionNode in interface ILanguageCoreExceptionpublic java.lang.String getId()
ILanguagepublic IASTName[] getSelectedNames(IASTTranslationUnit ast, int start, int length)
getSelectedNames in interface ILanguagepublic char[] getLineCommentCharacters()
IAsmLanguagegetLineCommentCharacters in interface IAsmLanguagepublic char getLineSeparatorCharacter()
IAsmLanguage'\0' means that no line separator character is defined.getLineSeparatorCharacter in interface IAsmLanguage'\0'public java.lang.String[] getDirectiveKeywords()
IAsmLanguagegetDirectiveKeywords in interface IAsmLanguagepublic java.lang.String[] getPreprocessorKeywords()
IAsmLanguagegetPreprocessorKeywords in interface IAsmLanguagepublic void setInitializationData(IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
throws CoreException
CoreExceptionpublic int getLinkageID()
ILanguagegetLinkageID in interface ILanguageILinkageCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.