public class SimplifyExpressions
extends polyglot.visit.HaltingVisitor
| Constructor and Description |
|---|
SimplifyExpressions(polyglot.ast.NodeFactory nf,
polyglot.types.TypeSystem ts) |
| Modifier and Type | Method and Description |
|---|---|
polyglot.visit.NodeVisitor |
enter(polyglot.ast.Node n) |
protected polyglot.ast.Node |
flattenImpureUnary(polyglot.ast.Unary u) |
polyglot.ast.Node |
leave(polyglot.ast.Node parent,
polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v) |
protected polyglot.ast.Expr |
simplifyAssignment(polyglot.ast.Assign ass) |
bypass, bypass, bypassChildren, override, visitChildrenpublic SimplifyExpressions(polyglot.ast.NodeFactory nf,
polyglot.types.TypeSystem ts)
public polyglot.visit.NodeVisitor enter(polyglot.ast.Node n)
enter in class polyglot.visit.NodeVisitorpublic polyglot.ast.Node leave(polyglot.ast.Node parent,
polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v)
leave in class polyglot.visit.NodeVisitorprotected polyglot.ast.Node flattenImpureUnary(polyglot.ast.Unary u)
protected polyglot.ast.Expr simplifyAssignment(polyglot.ast.Assign ass)