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, wait
getPreprocessorName
protected 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 IPreprocessor
public void executeActionOnFinish(ScriptFile scriptFile)
executeActionOnFinish
in interface IPreprocessor
public java.lang.String getPreprocessorLine()
getPreprocessorLine
in interface IPreprocessor
public java.lang.String getFileName()
getFileName
in interface IPreprocessor
public int getLineIndex()
getLineIndex
in interface IPreprocessor