Package ghidra.sleigh.grammar
Class SleighPreprocessor
java.lang.Object
ghidra.sleigh.grammar.SleighPreprocessor
- All Implemented Interfaces:
ExpressionEnvironment
-
Constructor Summary
ConstructorDescriptionSleighPreprocessor
(ghidra.pcodeCPort.slgh_compile.PreprocessorDefinitions definitions, File inputFile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
process
(LineArrayListWriter writer) void
reportError
(String msg) long
void
setCompatible
(boolean compatible) toString()
-
Constructor Details
-
SleighPreprocessor
public SleighPreprocessor(ghidra.pcodeCPort.slgh_compile.PreprocessorDefinitions definitions, File inputFile)
-
-
Method Details
-
process
public void process(LineArrayListWriter writer) throws IOException, PreprocessorException, org.antlr.runtime.RecognitionException - Throws:
IOException
PreprocessorException
org.antlr.runtime.RecognitionException
-
scanForTimestamp
public long scanForTimestamp() throws IOException, PreprocessorException, org.antlr.runtime.RecognitionException- Throws:
IOException
PreprocessorException
org.antlr.runtime.RecognitionException
-
setCompatible
public void setCompatible(boolean compatible) -
isCompatible
public boolean isCompatible() -
toString
-
equals
- Specified by:
equals
in interfaceExpressionEnvironment
-
lookup
- Specified by:
lookup
in interfaceExpressionEnvironment
-
reportError
- Specified by:
reportError
in interfaceExpressionEnvironment
-