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, visitChildren
public SimplifyExpressions(polyglot.ast.NodeFactory nf, polyglot.types.TypeSystem ts)
public polyglot.visit.NodeVisitor enter(polyglot.ast.Node n)
enter
in class polyglot.visit.NodeVisitor
public 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.NodeVisitor
protected polyglot.ast.Node flattenImpureUnary(polyglot.ast.Unary u)
protected polyglot.ast.Expr simplifyAssignment(polyglot.ast.Assign ass)