public abstract class PreprocessorActionBase extends java.lang.Object implements IPreprocessor
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fileName |
protected int |
lineIndex |
protected java.lang.String |
preprocessorLine |
| Constructor and Description |
|---|
PreprocessorActionBase(java.lang.String fileName,
java.lang.String preprocessorLine,
int lineIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeActionOnFind(ScriptFile scriptFile)
Gets executed directly on find
|
void |
executeActionOnFinish(ScriptFile scriptFile)
Gets executed after all preprocessor actions have been collected
|
java.lang.String |
getFileName() |
int |
getLineIndex() |
java.lang.String |
getPreprocessorLine() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreprocessorNameprotected java.lang.String preprocessorLine
protected java.lang.String fileName
protected int lineIndex
public PreprocessorActionBase(java.lang.String fileName,
java.lang.String preprocessorLine,
int lineIndex)
public void executeActionOnFind(ScriptFile scriptFile)
executeActionOnFind in interface IPreprocessorpublic void executeActionOnFinish(ScriptFile scriptFile)
executeActionOnFinish in interface IPreprocessorpublic java.lang.String getPreprocessorLine()
getPreprocessorLine in interface IPreprocessorpublic java.lang.String getFileName()
getFileName in interface IPreprocessorpublic int getLineIndex()
getLineIndex in interface IPreprocessor