public class PreprocessorHintsWorker extends AbstractPatternWorker
| Modifier and Type | Class and Description |
|---|---|
class |
PreprocessorHintsWorker.HintsReader
Provides a service for reading preprocessor hints associated with the
current AST.
|
| Modifier and Type | Field and Description |
|---|---|
private PreprocessorHints |
hints
Stores the current AST's hints object.
|
private static ConversionStatus |
LOG
Logger.
|
| Constructor and Description |
|---|
PreprocessorHintsWorker()
Default constructor which calls the super-class constructor, registers
its libraries and initializes its instance members.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitAst(Aast ast)
Resets the current hints instance to
null each time a new
AST is visited. |
getCopy, getLibrary, getResolver, getSource, isConditionalRuleSets, isFlagActivated, isRuntimeQueryMode, registerTree, resolveConstant, setLibraryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, initialize, leaveAstprivate static final ConversionStatus LOG
private PreprocessorHints hints
public PreprocessorHintsWorker()
throws ConfigurationException
ConfigurationExceptionpublic void visitAst(Aast ast)
null each time a new
AST is visited. This enables the lazy loading of hints files only when
needed.ast - The root node of the source AST about to be processed by the
pattern engine.