public class SyntaxGraph.Painter extends SinglePhase
Modifier and Type | Field and Description |
---|---|
protected XRegExp |
currentDef |
protected Stroke |
dotDashStroke |
protected SyntaxGraph.RectMap |
rectMap |
protected SyntaxGraph.RefPainter |
refPainter |
protected Stroke |
tightStroke |
_visitor_debug_stream, partial
Constructor and Description |
---|
Painter() |
Modifier and Type | Method and Description |
---|---|
void |
action(Alt alt)
ASSUME Alt.on is not a singleton, not "deprivated".
|
void |
action(CharCut exp) |
void |
action(CharJoin exp) |
void |
action(CharMinus exp) |
void |
action(CharRange exp) |
void |
action(CharSetConst cs) |
void |
action(Greedy greedy) |
void |
action(Insertion ins) |
void |
action(Opt opt) |
void |
action(ParseParticle pp) |
void |
action(Pcdata ref) |
void |
action(Perm perm) |
void |
action(Plus plus) |
void |
action(Reference ref) |
void |
action(Seq seq) |
void |
action(Star star) |
void |
action(StringConst sc) |
protected void |
drawtriangle(int x0,
int x1,
int x2,
int y0,
int y1,
int y2) |
protected void |
paintCharBin(CharBinary bin,
String operator) |
SyntaxGraph.RectMap |
paintIt(XRegExp def,
SyntaxGraph.RefPainter refPainter) |
protected void |
processReferring(Expression exp,
String tag,
boolean makeLink,
int type) |
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action
_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 XRegExp currentDef
protected SyntaxGraph.RectMap rectMap
protected SyntaxGraph.RefPainter refPainter
protected final Stroke tightStroke
protected final Stroke dotDashStroke
public SyntaxGraph.RectMap paintIt(XRegExp def, SyntaxGraph.RefPainter refPainter)
protected void processReferring(Expression exp, String tag, boolean makeLink, int type)
public void action(Pcdata ref)
action
in class SinglePhase
public void action(Insertion ins)
action
in class SinglePhase
public void action(Reference ref)
action
in class SinglePhase
public void action(Opt opt)
action
in class SinglePhase
public void action(Star star)
action
in class SinglePhase
public void action(Plus plus)
action
in class SinglePhase
public void action(Alt alt)
action
in class SinglePhase
protected void drawtriangle(int x0, int x1, int x2, int y0, int y1, int y2)
public void action(Perm perm)
action
in class SinglePhase
public void action(Seq seq)
action
in class SinglePhase
public void action(CharSetConst cs)
action
in class SinglePhase
protected void paintCharBin(CharBinary bin, String operator)
public void action(CharMinus exp)
action
in class SinglePhase
public void action(CharJoin exp)
action
in class SinglePhase
public void action(CharCut exp)
action
in class SinglePhase
public void action(CharRange exp)
action
in class SinglePhase
public void action(ParseParticle pp)
action
in class SinglePhase
public void action(StringConst sc)
action
in class SinglePhase
public void action(Greedy greedy)
action
in class SinglePhase
see also the complete user documentation .