public interface IPreprocessor
Modifier and Type | Interface and Description |
---|---|
static class |
IPreprocessor.Order
Used to specify the preferred order a preprocessor runs wrt others
|
Modifier and Type | Method and Description |
---|---|
IPreprocessor.Order |
getPreferredOrder() |
CharSequence |
process(URI uri,
CharSequence source)
Preprocess source code which is then handed off to the Java parser.
|
IPreprocessor.Order getPreferredOrder()
First -> None -> Last
CharSequence process(URI uri, CharSequence source)
source
parameter. Scanner scanner = ScannerFactory.instance(JavacPlugin.instance().getContext()).newScanner(input, true);
uri
- source
- The Java source corresponding with a source file about to be compiled.Copyright © 2024. All rights reserved.