Package org.eclipse.cdt.core.parser
Class ExtendedScannerInfo
java.lang.Object
org.eclipse.cdt.core.parser.ScannerInfo
org.eclipse.cdt.core.parser.ExtendedScannerInfo
- All Implemented Interfaces:
IExtendedScannerInfo
,IScannerInfo
Implementation for the
IExtendedScannerInfo
interface. Allows to configure
the preprocessor.- Since:
- 5.5
-
Constructor Summary
ConstructorDescriptionExtendedScannerInfo
(Map<String, String> definedSymbols, String[] includePaths) ExtendedScannerInfo
(Map<String, String> definedSymbols, String[] includePaths, String[] macroFiles, String[] includeFiles) ExtendedScannerInfo
(Map<String, String> definedSymbols, String[] includePaths, String[] macroFiles, String[] includeFiles, String[] localIncludePaths) -
Method Summary
Modifier and TypeMethodDescriptionReturns the regular expression patterns matching export directives for included files.String[]
Return an array of files that will be parsed before parsing the translation-unit as if the these files were included using include directives.String[]
Return an array of paths that is searched after the current directory, when an include directive with double-quotes is processed.String[]
Return an array of files which will be preprocessed before parsing the translation-unit in order to populate the macro-dictionary.Returns additional settings for the parser.void
Sets the regular expression patterns matching export directives for included files.void
setParserSettings
(IParserSettings parserSettings) Sets additional settings for configuring the parser.Methods inherited from class org.eclipse.cdt.core.parser.ScannerInfo
getDefinedSymbols, getIncludePaths
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.cdt.core.parser.IScannerInfo
getDefinedSymbols, getIncludePaths
-
Constructor Details
-
Method Details
-
getMacroFiles
Description copied from interface:IExtendedScannerInfo
Return an array of files which will be preprocessed before parsing the translation-unit in order to populate the macro-dictionary.- Specified by:
getMacroFiles
in interfaceIExtendedScannerInfo
-
getIncludeFiles
Description copied from interface:IExtendedScannerInfo
Return an array of files that will be parsed before parsing the translation-unit as if the these files were included using include directives.- Specified by:
getIncludeFiles
in interfaceIExtendedScannerInfo
-
getLocalIncludePath
Description copied from interface:IExtendedScannerInfo
Return an array of paths that is searched after the current directory, when an include directive with double-quotes is processed.In order to suppress the use of the directory of the current file (side effect of gcc option -I-) you can pass '-' as one of the include paths. Other than that, the '-' will not have an effect, in particular it will not split the include path as the -I- option would do.
- Specified by:
getLocalIncludePath
in interfaceIExtendedScannerInfo
-
getIncludeExportPatterns
Returns the regular expression patterns matching export directives for included files.- Since:
- 5.5
- See Also:
- Restriction:
- This method is not intended to be referenced by clients.
-
setIncludeExportPatterns
Sets the regular expression patterns matching export directives for included files.- Since:
- 5.5
- See Also:
- Restriction:
- This method is not intended to be referenced by clients.
-
getParserSettings
Returns additional settings for the parser.- Since:
- 5.6
-
setParserSettings
Sets additional settings for configuring the parser.- Since:
- 5.6
-