Package eu.bandm.tools.tpath.type
Class Type.Rewriter
java.lang.Object
eu.bandm.tools.tpath.type.Type.MATCH_ONLY_00
eu.bandm.tools.tpath.type.Type.Rewriter
- All Implemented Interfaces:
Rewriter
- Enclosing class:
Type
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-02-18_13h27m25")
public static class Type.Rewriter
extends Type.MATCH_ONLY_00
implements Rewriter
Visitor generated by umod according to field selection #0.
The flavour of this visitor has been set to IS REWRITER.
For details see the user documentation.
-
Field Summary
FieldsFields inherited from class eu.bandm.tools.tpath.type.Type.MATCH_ONLY_00
_visitor_debug_stream, partial -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaction(Type.Boolean e0) protected voidaction(Type.Error e0) protected voidaction(Type.NodeRel e0) protected voidaction(Type.Number e0) protected voidaction(Type.String e0) protected voidprotected voidaction(Type.XPathType e0) protected <T extends Type.XPathType>
TbreakLoop(T e0) booleanisMulti()protected booleanprotected voidvoidrevert()Defines the untyped rewriting process.<T> Trewrite_typed(T obj) Defines the typed rewriting process.protected voidrewriteFields(Type.Boolean clone) protected voidrewriteFields(Type.Error clone) protected voidrewriteFields(Type.NodeRel clone) protected voidrewriteFields(Type.Number clone) protected voidrewriteFields(Type.String clone) protected voidprotected voidrewriteFields(Type.XPathType clone) voidsubstitute(Object p) voidprotected voiduseCache(boolean x)
-
Field Details
-
mcache
-
clones
-
original
-
cache
-
-
Constructor Details
-
Rewriter
public Rewriter() -
Rewriter
-
-
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
-
getResult
-
rewrite
Description copied from interface:RewriterDefines the untyped rewriting process. -
rewrite_typed
public <T> T rewrite_typed(T obj) Description copied from interface:RewriterDefines the typed rewriting process.- Specified by:
rewrite_typedin interfaceRewriter- Type Parameters:
T- the common type of rewritten object and result- Parameters:
obj- the object to rewrite.- Returns:
- the result of rewriting
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
actionin classType.MATCH_ONLY_00
-
rewriteFields
-