eu.bandm.tscore.model
Class Rewrite
java.lang.Object
eu.bandm.tscore.model.MATCH_ONLY_00
eu.bandm.tscore.model.Rewrite
- All Implemented Interfaces:
- Rewriter
public class Rewrite
- extends MATCH_ONLY_00
- implements Rewriter
Methods inherited from class eu.bandm.tscore.model.MATCH_ONLY_00 |
_visitor_trace, action, action, action, action, action, foreignObject, match, match, match, match, match, match, match, match, match, match, nomatch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mcache
protected HashSet<Object> mcache
original
protected Object original
cache
protected HashMap<Object,Object> cache
Rewrite
public Rewrite()
Rewrite
public Rewrite(Rewrite parent)
useCache
protected void useCache(boolean x)
lookUp
protected boolean lookUp(Object x)
putToCache
protected void putToCache()
isMulti
public boolean isMulti()
revert
public void revert()
substitute
public void substitute(Object p)
substitute_empty
public void substitute_empty()
breakLoop
protected <T extends EventSet> T breakLoop(T e0)
breakLoop
protected <T extends Tp> T breakLoop(T e0)
breakLoop
protected <T extends Vox> T breakLoop(T e0)
breakLoop
protected <T extends Param> T breakLoop(T e0)
breakLoop
protected <T extends TDivision> T breakLoop(T e0)
breakLoop
protected <T extends Event> T breakLoop(T e0)
breakLoop
protected <T extends TimeScape> T breakLoop(T e0)
breakLoop
protected <T extends Expression> T breakLoop(T e0)
breakLoop
protected <T extends Part> T breakLoop(T e0)
getResult
public Object getResult()
rewrite
public Object rewrite(Object obj)
- Specified by:
rewrite
in interface Rewriter
rewrite_typed
public <T> T rewrite_typed(T obj)
- Specified by:
rewrite_typed
in interface Rewriter
action
protected void action(EventSet e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(EventSet clone)
action
protected void action(Tp e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(Tp clone)
action
protected void action(TpTop e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(TpTop clone)
action
protected void action(TpSub e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(TpSub clone)
action
protected void action(Vox e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(Vox clone)
action
protected void action(Param e0)
rewriteFields
protected void rewriteFields(Param clone)
action
protected void action(TDivision e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(TDivision clone)
action
protected void action(Event e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(Event clone)
action
protected void action(TimeScape e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(TimeScape clone)
action
protected void action(Expression e0)
rewriteFields
protected void rewriteFields(Expression clone)
action
protected void action(Application e0)
rewriteFields
protected void rewriteFields(Application clone)
action
protected void action(Const e0)
rewriteFields
protected void rewriteFields(Const clone)
action
protected void action(Part e0)
- Overrides:
action
in class MATCH_ONLY_00
rewriteFields
protected void rewriteFields(Part clone)