public class BasicASTInjector extends java.lang.Object implements IASTInjector
Constructor and Description |
---|
BasicASTInjector(org.antlr.runtime.tree.CommonTree modelDescriptor,
java.lang.Class<? extends IInstallable> participantClass,
java.util.Map<java.lang.String,java.lang.String> parameterMap) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearLocations(org.antlr.runtime.tree.CommonTree root)
Deprecated.
|
protected void |
importAll(org.antlr.runtime.tree.CommonTree srcModel,
org.antlr.runtime.tree.CommonTree modelDescriptor,
boolean importBuffers) |
protected void |
importBuffers(org.antlr.runtime.tree.CommonTree srcModel,
org.antlr.runtime.tree.CommonTree destModel) |
static void |
importChunkTypes(org.antlr.runtime.tree.CommonTree sourceDeclarativeMemory,
org.antlr.runtime.tree.CommonTree destinationDeclarativeMemory)
import chunktypes from source to dest.
|
protected void |
importProductions(org.antlr.runtime.tree.CommonTree srcModel,
org.antlr.runtime.tree.CommonTree destModel) |
void |
inject(org.antlr.runtime.tree.CommonTree modelDescriptor,
boolean importBuffers)
install module specific information into this model descriptor.
|
void |
injectParameters(org.antlr.runtime.tree.CommonTree rootNode) |
public BasicASTInjector(org.antlr.runtime.tree.CommonTree modelDescriptor, java.lang.Class<? extends IInstallable> participantClass, java.util.Map<java.lang.String,java.lang.String> parameterMap)
public void inject(org.antlr.runtime.tree.CommonTree modelDescriptor, boolean importBuffers)
IASTInjector
inject
in interface IASTInjector
org.jactr.io.participant.IASTInjector#inject(org.antlr.runtime.tree.CommonTree)
public void injectParameters(org.antlr.runtime.tree.CommonTree rootNode)
public static void importChunkTypes(org.antlr.runtime.tree.CommonTree sourceDeclarativeMemory, org.antlr.runtime.tree.CommonTree destinationDeclarativeMemory)
sourceDeclarativeMemory
- destinationDeclarativeMemory
- protected void importBuffers(org.antlr.runtime.tree.CommonTree srcModel, org.antlr.runtime.tree.CommonTree destModel)
protected void importProductions(org.antlr.runtime.tree.CommonTree srcModel, org.antlr.runtime.tree.CommonTree destModel)
protected void importAll(org.antlr.runtime.tree.CommonTree srcModel, org.antlr.runtime.tree.CommonTree modelDescriptor, boolean importBuffers)
@Deprecated protected void clearLocations(org.antlr.runtime.tree.CommonTree root)
root
-