Package eu.bandm.tools.tpath.absy
Class TPath.Rewriter
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.MATCH_ONLY_00
eu.bandm.tools.tpath.absy.TPath.Rewriter
- All Implemented Interfaces:
Rewriter
- Enclosing class:
- TPath
Visitor generated by umod according to field selection #0.
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.tpath.absy.TPath.MATCH_ONLY_00
_visitor_debug_stream, partial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
action
(TPath.Comment e0) protected void
protected void
protected void
protected void
protected void
action
(TPath.Expr e0) protected void
action
(TPath.Filter e0) protected void
protected void
protected void
protected void
action
(TPath.Item e0) protected void
protected void
action
(TPath.Literal e0) protected void
protected void
protected void
action
(TPath.Minus e0) protected void
protected void
action
(TPath.Mult e0) protected void
action
(TPath.NameTest e0) protected void
protected void
protected void
action
(TPath.Node e0) protected void
action
(TPath.Number e0) protected void
protected void
protected void
action
(TPath.Paren e0) protected void
action
(TPath.PathExpr e0) protected void
action
(TPath.Plus e0) protected void
protected void
action
(TPath.Root e0) protected void
action
(TPath.Step e0) protected void
action
(TPath.Test e0) protected void
action
(TPath.Text e0) protected void
action
(TPath.TypeTest e0) protected void
protected void
action
(TPath.Union e0) protected void
protected void
protected <T extends TPath.Item>
TbreakLoop
(T e0) void
follow_args
(TPath.FunctionCall element) void
follow_predicates
(TPath.Step element) boolean
isMulti()
protected boolean
protected void
void
revert()
<T> T
rewrite_typed
(T obj) protected void
rewriteFields
(TPath.And clone) protected void
rewriteFields
(TPath.AxisSpecifier clone) protected void
rewriteFields
(TPath.BinaryExpr clone) protected void
rewriteFields
(TPath.Comment clone) protected void
protected void
rewriteFields
(TPath.Div clone) protected void
rewriteFields
(TPath.Eq clone) protected void
rewriteFields
(TPath.EqualityExpr clone) protected void
rewriteFields
(TPath.Expr clone) protected void
rewriteFields
(TPath.Filter clone) protected void
rewriteFields
(TPath.FunctionCall clone) protected void
rewriteFields
(TPath.Geq clone) protected void
rewriteFields
(TPath.Gt clone) protected void
rewriteFields
(TPath.Item clone) protected void
rewriteFields
(TPath.Leq clone) protected void
rewriteFields
(TPath.Literal clone) protected void
rewriteFields
(TPath.LogicalExpr clone) protected void
rewriteFields
(TPath.Lt clone) protected void
rewriteFields
(TPath.Minus clone) protected void
rewriteFields
(TPath.Mod clone) protected void
rewriteFields
(TPath.Mult clone) protected void
rewriteFields
(TPath.NameTest clone) protected void
rewriteFields
(TPath.Neg clone) protected void
rewriteFields
(TPath.Neq clone) protected void
rewriteFields
(TPath.Node clone) protected void
rewriteFields
(TPath.Number clone) protected void
rewriteFields
(TPath.NumericExpr clone) protected void
rewriteFields
(TPath.Or clone) protected void
rewriteFields
(TPath.Paren clone) protected void
rewriteFields
(TPath.PathExpr clone) protected void
rewriteFields
(TPath.Plus clone) protected void
protected void
rewriteFields
(TPath.Root clone) protected void
rewriteFields
(TPath.Step clone) protected void
rewriteFields
(TPath.Test clone) protected void
rewriteFields
(TPath.Text clone) protected void
rewriteFields
(TPath.TypeTest clone) protected void
rewriteFields
(TPath.UnaryExpr clone) protected void
rewriteFields
(TPath.Union clone) protected void
rewriteFields
(TPath.ValueExpr clone) protected void
void
substitute
(Object p) void
protected void
useCache
(boolean x) Methods inherited from class eu.bandm.tools.tpath.absy.TPath.MATCH_ONLY_00
action, action, compile, followAll_args, followAll_predicates, 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, match, match, nomatch
-
Field Details
-
baseVisitorClass
-
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
-
rewrite_typed
public <T> T rewrite_typed(T obj) - Specified by:
rewrite_typed
in interfaceRewriter
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
action
- Overrides:
action
in classTPath.MATCH_ONLY_00
-
rewriteFields
-
follow_predicates
-
follow_args
-