Package eu.bandm.tools.d2d2.model
Class Rewrite
java.lang.Object
eu.bandm.tools.d2d2.model.MATCH_ONLY_00
eu.bandm.tools.d2d2.model.Rewrite
- All Implemented Interfaces:
Rewriter
- Direct Known Subclasses:
Resolver4
Visitor generated by umod according to field selection #2.
The flavour of this visitor has been set to IS REWRITER
.
See the pretty printed source file.
For details see the user documentation.
-
Field Summary
Fields inherited from class eu.bandm.tools.d2d2.model.MATCH_ONLY_00
_visitor_debug_stream, partial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
action
(AdditionalDocs e0) protected void
protected void
action
(CharBinary e0) protected void
protected void
protected void
protected void
protected void
protected void
action
(CharSetConst e0) protected void
action
(CharsRegExp e0) protected void
action
(Definition e0) protected void
action
(DefInstance e0) protected void
protected void
action
(Enumeration e0) protected void
protected void
action
(Expression e0) protected void
protected void
protected void
protected void
action
(ImportItem e0) protected void
protected void
protected void
protected void
action
(NamespaceDecl e0) protected void
protected void
protected void
action
(ParseParticle e0) protected void
protected void
protected void
protected void
protected void
action
(ResolvedModule e0) protected void
protected void
action
(SourceItem e0) protected void
protected void
action
(StringConst e0) protected void
protected void
action
(TagsRegExp e0) protected void
protected <T extends SourceItem>
TbreakLoop
(T e0) void
follow_definitions
(Module element) void
follow_defInstances
(ResolvedModule element) void
follow_docu
(SourceItem element) void
follow_firsts
(Expression element) void
follow_globalSubsts
(ImportItem element) void
follow_imports
(Module element) void
follow_itemDocu
(Enumeration element) void
follow_localdefs
(TagsRegExp element) void
follow_localSubsts
(ImportItem element) void
follow_modules
(Module element) void
follow_namespaces
(Module element) void
follow_obligates
(Perm element) void
void
follow_rawModules
(ResolvedModule element) void
follow_text
(AdditionalDocs element) void
follow_weakfirsts
(Expression element) void
follow_xattributes
(XRegExp element) boolean
isMulti()
protected boolean
protected void
void
revert()
<T> T
rewrite_typed
(T obj) protected void
rewriteFields
(AdditionalDocs clone) protected void
rewriteFields
(Alt clone) protected void
rewriteFields
(CharBinary clone) protected void
rewriteFields
(CharCut clone) protected void
rewriteFields
(CharExpr clone) protected void
rewriteFields
(CharJoin clone) protected void
rewriteFields
(CharMinus clone) protected void
rewriteFields
(CharRange clone) protected void
rewriteFields
(CharSetConst clone) protected void
rewriteFields
(CharsRegExp clone) protected void
rewriteFields
(Definition clone) protected void
rewriteFields
(DefInstance clone) protected void
rewriteFields
(Empty clone) protected void
rewriteFields
(Enumeration clone) protected void
rewriteFields
(Expr0 clone) protected void
rewriteFields
(Expression clone) protected void
rewriteFields
(Greedy clone) protected void
rewriteFields
(GrMult clone) protected void
rewriteFields
(GrUnary clone) protected void
rewriteFields
(ImportItem clone) protected void
rewriteFields
(Insertion clone) protected void
rewriteFields
(LocString clone) protected void
rewriteFields
(Module clone) protected void
rewriteFields
(NamespaceDecl clone) protected void
rewriteFields
(None clone) protected void
rewriteFields
(Opt clone) protected void
rewriteFields
(ParseParticle clone) protected void
rewriteFields
(Pcdata clone) protected void
rewriteFields
(Perm clone) protected void
rewriteFields
(Plus clone) protected void
rewriteFields
(Reference clone) protected void
rewriteFields
(ResolvedModule clone) protected void
rewriteFields
(Seq clone) protected void
rewriteFields
(SourceItem clone) protected void
rewriteFields
(Star clone) protected void
rewriteFields
(StringConst clone) protected void
rewriteFields
(Subst clone) protected void
rewriteFields
(TagsRegExp clone) protected void
rewriteFields
(XRegExp clone) void
substitute
(Object p) void
protected void
useCache
(boolean x) Methods inherited from class eu.bandm.tools.d2d2.model.MATCH_ONLY_00
_visitor_trace, action, action, action, action, action, compile, followAll_definitions, followAll_defInstances, followAll_docu, followAll_firsts, followAll_globalSubsts, followAll_imports, followAll_itemDocu, followAll_localdefs, followAll_localSubsts, followAll_modules, followAll_namespaces, followAll_obligates, followAll_on, followAll_rawModules, followAll_text, followAll_weakfirsts, followAll_xattributes, foreignObject, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatch
-
Field Details
-
baseVisitorClass
-
mcache
-
clones
-
original
-
cache
-
-
Constructor Details
-
Rewrite
public Rewrite() -
Rewrite
-
-
Method Details
-
useCache
protected void useCache(boolean x) -
lookUp
-
putToCache
protected void putToCache() -
isMulti
public boolean isMulti() -
revert
public void revert() -
substitute
-
substitute_empty
public void substitute_empty() -
breakLoop
-
breakLoop
-
breakLoop
-
breakLoop
-
breakLoop
-
breakLoop
-
getResult
-
rewrite
-
rewrite_typed
public <T> T rewrite_typed(T obj) - Specified by:
rewrite_typed
in interfaceRewriter
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
rewriteFields
-
follow_localdefs
-
follow_text
-
follow_firsts
-
follow_weakfirsts
-
follow_docu
-
follow_xattributes
-
follow_on
-
follow_modules
-
follow_imports
-
follow_definitions
-
follow_namespaces
-
follow_defInstances
-
follow_rawModules
-
follow_localSubsts
-
follow_globalSubsts
-
follow_obligates
-
follow_itemDocu
-