protected class Resolver.ReferenceResolver extends Rewrite
Modifier and Type | Field and Description |
---|---|
protected ImportItem |
currentitem |
protected String |
currentlocalcontext |
protected Module |
currentmodule |
protected boolean |
inTagsRegExp |
_visitor_debug_stream, partial
Modifier | Constructor and Description |
---|---|
protected |
ReferenceResolver() |
Modifier and Type | Method and Description |
---|---|
void |
action(CharsRegExp x) |
void |
action(ImportItem item) |
void |
action(Module mod) |
void |
action(Reference ref) |
void |
action(TagsRegExp x) |
protected void |
checkDefinitionType(Definition def,
Location<XMLDocumentIdentifier> loc,
boolean isInsertion) |
protected void |
checkInsertion(Expression exp,
String origText,
Insertion callingInsertion)
Called if a substitution goes to a reference or "#none", in case
the substituted ref is an argument to a "@"
FIXME später raus, "@" wird kompositional in NEUEM Algorithmus!
|
protected Expression |
copyImplicit(Expression expr0,
Reference orig)
FIXME -- BETTER: realize "#implicit" as an OPERATOR, then no
special copy action would be necessary.
|
protected Expression |
resolveRefText(Reference ref,
Insertion callingInsertion)
Resolve the source text of a reference to a declaration and store this
in "resolved".
|
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, breakLoop, breakLoop, breakLoop, breakLoop, breakLoop, getResult, isMulti, lookUp, putToCache, revert, rewrite_typed, rewrite, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, rewriteFields, substitute_empty, substitute, useCache
_visitor_trace, action, action, action, action, 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, nomatch
protected Module currentmodule
protected ImportItem currentitem
protected String currentlocalcontext
protected boolean inTagsRegExp
public void action(ImportItem item)
public void action(CharsRegExp x)
public void action(TagsRegExp x)
protected void checkInsertion(Expression exp, String origText, Insertion callingInsertion)
protected void checkDefinitionType(Definition def, Location<XMLDocumentIdentifier> loc, boolean isInsertion)
protected Expression copyImplicit(Expression expr0, Reference orig)
protected Expression resolveRefText(Reference ref, Insertion callingInsertion)
ref
- the Reference to resolveins
- the Insertion expression directly containing ref, or null.see also the complete user documentation .