|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPlatformObject
org.eclipse.cdt.core.model.AbstractLanguage
org.eclipse.cdt.core.model.AssemblyLanguage
public class AssemblyLanguage
Built-in language for assembly files.
Field Summary | |
---|---|
static AssemblyLanguage |
DEFAULT_INSTANCE
|
Fields inherited from interface org.eclipse.cdt.core.model.ILanguage |
---|
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 Summary | |
---|---|
AssemblyLanguage()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.cdt.core.model.AbstractLanguage |
---|
getASTTranslationUnit, getASTTranslationUnit, getCompletionNode, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AssemblyLanguage DEFAULT_INSTANCE
Constructor Detail |
---|
public AssemblyLanguage()
Method Detail |
---|
public static AssemblyLanguage getDefault()
public IContributedModelBuilder createModelBuilder(ITranslationUnit tu)
ILanguage
createModelBuilder
in interface ILanguage
tu
- the ITranslationUnit
to be parsed (non-null
)
IModelBuilder
, which parses the given translation unit and
returns the ICElement
s 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 ILanguage
CoreException
@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 ILanguage
CoreException
public java.lang.String getId()
ILanguage
getId
in interface ILanguage
public IASTName[] getSelectedNames(IASTTranslationUnit ast, int start, int length)
getSelectedNames
in interface ILanguage
public char[] getLineCommentCharacters()
IAsmLanguage
getLineCommentCharacters
in interface IAsmLanguage
public char getLineSeparatorCharacter()
IAsmLanguage
'\0'
means that no line separator character is defined.
getLineSeparatorCharacter
in interface IAsmLanguage
'\0'
public java.lang.String[] getDirectiveKeywords()
IAsmLanguage
getDirectiveKeywords
in interface IAsmLanguage
public java.lang.String[] getPreprocessorKeywords()
IAsmLanguage
getPreprocessorKeywords
in interface IAsmLanguage
public void setInitializationData(IConfigurationElement config, java.lang.String propertyName, java.lang.Object data) throws CoreException
CoreException
public int getLinkageID()
ILanguage
getLinkageID
in interface ILanguage
ILinkage
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |