public class Matcher extends BaseMatcher
Constructor and Description |
---|
Matcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
action(Element_entry.Attr_key attr) |
protected void |
action(Element_entry.Attr_lang attr) |
protected void |
action(Element_entry element) |
protected void |
action(Element_text.Attr_lang attr) |
protected void |
action(Element_text element) |
protected void |
action(Element_translationfile element) |
protected void |
action(Element node) |
protected void |
action(TypedPCData pcdata)
Semantic execution; can be overridden by the user when defining a particular visitor.
|
void |
match(Matchable<? super Matcher> matchable) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_entry.Attr_key attr) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_entry.Attr_lang attr) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_entry element) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_text.Attr_lang attr) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_text element) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element_translationfile element) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
Element node) |
protected void |
phase(int phase,
boolean generalizing,
boolean descending,
TypedPCData pcdata) |
protected void |
setPhases(int descendAt,
boolean... generalize) |
match
protected void action(TypedPCData pcdata)
BaseMatcher
TypedPCData
is reached when traversing the
model instance. This default implementation does nothing.action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, TypedPCData pcdata)
protected void setPhases(int descendAt, boolean... generalize)
protected void action(Element node)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element node)
protected void action(Element_entry element)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_entry element)
protected void action(Element_translationfile element)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_translationfile element)
protected void action(Element_text element)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_text element)
protected void action(Element_entry.Attr_key attr)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_entry.Attr_key attr)
protected void action(Element_entry.Attr_lang attr)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_entry.Attr_lang attr)
protected void action(Element_text.Attr_lang attr)
action
in class BaseMatcher
protected void phase(int phase, boolean generalizing, boolean descending, Element_text.Attr_lang attr)
see also the complete user documentation .