public class InstructionPreprocessor extends java.lang.Object implements Preprocessor
Modifier and Type | Method and Description |
---|---|
void |
addInstruction(java.lang.String key,
Instruction value) |
void |
addInstruction(java.lang.String key,
PatternProducer value) |
void |
addInstruction(java.lang.String key,
java.lang.String value) |
static InstructionPreprocessor |
getInstance() |
java.lang.String |
preprocess(java.lang.String s,
StaccatoParserContext context) |
public static InstructionPreprocessor getInstance()
public void addInstruction(java.lang.String key, Instruction value)
public void addInstruction(java.lang.String key, PatternProducer value)
public void addInstruction(java.lang.String key, java.lang.String value)
public java.lang.String preprocess(java.lang.String s, StaccatoParserContext context)
preprocess
in interface Preprocessor