public interface SymbolProvider
Modifier and Type | Method and Description |
---|---|
String |
getValue(Definitions rootDefinitions,
IFile sourceFile,
String def)
Returns the string representation of the value of
def if it exists in this provider. |
boolean |
isDefined(Definitions rootDefinitions,
IFile sourceFile,
String def)
Returns true if the symbol exists in this provider.
|
boolean isDefined(Definitions rootDefinitions, IFile sourceFile, String def)
rootDefinitions
- The DefinitionssourceFile
- The path to the source file in context.def
- The name of the preprocessor definition.String getValue(Definitions rootDefinitions, IFile sourceFile, String def)
def
if it exists in this provider.rootDefinitions
- sourceFile
- The path to the source file in context.def
- The name of the preprocessor definition.def
or null if it does not exist in thie provider.Copyright © 2024. All rights reserved.