public class SyntaxGraph.Layouter extends SinglePhase
sizeInfo
.
Each graph has one y-value as its entry and exit height, and an
entry and exit x-pos. These are stored in SyntaxGraph.y
,
SyntaxGraph.inX
and SyntaxGraph.outX
and are all RELATIVE to the containing graph.
_visitor_debug_stream, partial
Constructor and Description |
---|
Layouter() |
Modifier and Type | Method and Description |
---|---|
void |
action(Alt alt) |
void |
action(CharBinary exp) |
void |
action(CharSetConst cs) |
void |
action(CharsRegExp def) |
void |
action(Greedy greedy) |
void |
action(Insertion ins)
insertions may have survived ONLY as flattened calls to character parsers.
|
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) |
void |
action(Subst subst) |
void |
action(TagsRegExp def) |
void |
action(XRegExp def) |
SyntaxGraph.SizeInfo |
layout(XRegExp def) |
protected void |
processAltOrInnerPerm(Iterator<Expression> subs,
int outerW) |
protected void |
sizeByNormalText(String s) |
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
public SyntaxGraph.SizeInfo layout(XRegExp def)
public void action(XRegExp def)
action
in class SinglePhase
public void action(TagsRegExp def)
action
in class SinglePhase
public void action(CharsRegExp def)
action
in class SinglePhase
protected void sizeByNormalText(String s)
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(Subst subst)
action
in class SinglePhase
public void action(Star star)
action
in class SinglePhase
public void action(Plus plus)
action
in class SinglePhase
protected void processAltOrInnerPerm(Iterator<Expression> subs, int outerW)
public void action(Alt alt)
action
in class SinglePhase
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
public void action(CharBinary 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 .