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
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-08-17_22h56m26")
public class Rewrite
extends MATCH_ONLY_00
implements Rewriter
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
FieldsFields inherited from class eu.bandm.tools.d2d2.model.MATCH_ONLY_00
_visitor_debug_stream, partial -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaction(AdditionalDocs e0) protected voidprotected voidaction(CharBinary e0) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidaction(CharSetConst e0) protected voidaction(CharsRegExp e0) protected voidaction(Definition e0) protected voidaction(DefInstance e0) protected voidprotected voidaction(Enumeration e0) protected voidprotected voidaction(Expression e0) protected voidprotected voidprotected voidprotected voidaction(ImportItem e0) protected voidprotected voidprotected voidprotected voidaction(NamespaceDecl e0) protected voidprotected voidprotected voidaction(ParseParticle e0) protected voidprotected voidprotected voidprotected voidprotected voidaction(ResolvedModule e0) protected voidprotected voidaction(SourceItem e0) protected voidprotected voidaction(StringConst e0) protected voidprotected voidaction(TagsRegExp e0) protected voidprotected <T extends SourceItem>
TbreakLoop(T e0) voidfollow_definitions(Module element) voidfollow_defInstances(ResolvedModule element) voidfollow_docu(SourceItem element) voidfollow_firsts(Expression element) voidfollow_globalSubsts(ImportItem element) voidfollow_imports(Module element) voidfollow_itemDocu(Enumeration element) voidfollow_localdefs(TagsRegExp element) voidfollow_localSubsts(ImportItem element) voidfollow_modules(Module element) voidfollow_namespaces(Module element) voidfollow_obligates(Perm element) voidvoidfollow_rawModules(ResolvedModule element) voidfollow_text(AdditionalDocs element) voidfollow_weakfirsts(Expression element) voidfollow_xattributes(XRegExp element) booleanisMulti()protected booleanprotected voidvoidrevert()<T> Trewrite_typed(T obj) protected voidrewriteFields(AdditionalDocs clone) protected voidrewriteFields(Alt clone) protected voidrewriteFields(CharBinary clone) protected voidrewriteFields(CharCut clone) protected voidrewriteFields(CharExpr clone) protected voidrewriteFields(CharJoin clone) protected voidrewriteFields(CharMinus clone) protected voidrewriteFields(CharRange clone) protected voidrewriteFields(CharSetConst clone) protected voidrewriteFields(CharsRegExp clone) protected voidrewriteFields(Definition clone) protected voidrewriteFields(DefInstance clone) protected voidrewriteFields(Empty clone) protected voidrewriteFields(Enumeration clone) protected voidrewriteFields(Expr0 clone) protected voidrewriteFields(Expression clone) protected voidrewriteFields(Greedy clone) protected voidrewriteFields(GrMult clone) protected voidrewriteFields(GrUnary clone) protected voidrewriteFields(ImportItem clone) protected voidrewriteFields(Insertion clone) protected voidrewriteFields(LocString clone) protected voidrewriteFields(Module clone) protected voidrewriteFields(NamespaceDecl clone) protected voidrewriteFields(None clone) protected voidrewriteFields(Opt clone) protected voidrewriteFields(ParseParticle clone) protected voidrewriteFields(Pcdata clone) protected voidrewriteFields(Perm clone) protected voidrewriteFields(Plus clone) protected voidrewriteFields(Reference clone) protected voidrewriteFields(ResolvedModule clone) protected voidrewriteFields(Seq clone) protected voidrewriteFields(SourceItem clone) protected voidrewriteFields(Star clone) protected voidrewriteFields(StringConst clone) protected voidrewriteFields(Subst clone) protected voidrewriteFields(TagsRegExp clone) protected voidrewriteFields(XRegExp clone) voidsubstitute(Object p) voidprotected voiduseCache(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_typedin interfaceRewriter
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
rewriteFields
-
follow_firsts
-
follow_weakfirsts
-
follow_modules
-
follow_imports
-
follow_definitions
-
follow_namespaces
-
follow_docu
-
follow_defInstances
-
follow_rawModules
-
follow_localSubsts
-
follow_globalSubsts
-
follow_xattributes
-
follow_text
-
follow_itemDocu
-
follow_on
-
follow_obligates
-
follow_localdefs
-