protected static class StackPrinter.ExpressionPrinter extends SinglePhase
| Modifier and Type | Field and Description |
|---|---|
protected int |
precedence |
protected PrintWriter |
pw |
_visitor_debug_stream, partial| Constructor and Description |
|---|
ExpressionPrinter(PrintWriter pw) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(Alt x) |
void |
action(CharCut x) |
void |
action(CharJoin x) |
void |
action(CharMinus x) |
void |
action(CharRange x) |
void |
action(CharSetConst x) |
void |
action(Insertion x) |
void |
action(Opt x) |
void |
action(ParseParticle x) |
void |
action(Pcdata x) |
void |
action(Perm x) |
void |
action(Plus x) |
void |
action(Reference x) |
void |
action(Seq x) |
void |
action(Star x) |
void |
action(StringConst x) |
void |
action(Subst x) |
protected void |
printMult(Collection<Expression> subs,
String sep,
int prec)
Prints the argument sequence of Seq/Alt/Perm and puts parentheses iff the
precedence decreases.
|
protected void |
printPar(Expression x)
Prints the the contents of a modifier Opt/Star/Plus.
|
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, nomatchprotected PrintWriter pw
protected int precedence
public ExpressionPrinter(PrintWriter pw)
public void action(Reference x)
action in class SinglePhasepublic void action(Pcdata x)
action in class SinglePhaseprotected void printPar(Expression x)
public void action(Opt x)
action in class SinglePhasepublic void action(Star x)
action in class SinglePhasepublic void action(Plus x)
action in class SinglePhaseprotected void printMult(Collection<Expression> subs, String sep, int prec)
public void action(Alt x)
action in class SinglePhasepublic void action(Seq x)
action in class SinglePhasepublic void action(Perm x)
action in class SinglePhasepublic void action(Insertion x)
action in class SinglePhasepublic void action(CharJoin x)
action in class SinglePhasepublic void action(CharCut x)
action in class SinglePhasepublic void action(CharMinus x)
action in class SinglePhasepublic void action(CharRange x)
action in class SinglePhasepublic void action(ParseParticle x)
action in class SinglePhasepublic void action(CharSetConst x)
action in class SinglePhasepublic void action(StringConst x)
action in class SinglePhasepublic void action(Subst x)
action in class SinglePhasesee also the complete user documentation .