public class ClauseReplacingCloningVisitor extends Object implements ClauseVisitor<Clause>
Constructor and Description |
---|
ClauseReplacingCloningVisitor(List<TerminalClause> substitutions) |
Modifier and Type | Method and Description |
---|---|
Clause |
visit(AndClause andClause)
Visit called when accepting a
AndClause . |
Clause |
visit(ChangedClause clause)
Visit called when accepting a
ChangedClause . |
Clause |
visit(NotClause notClause)
Visit called when accepting a
NotClause . |
Clause |
visit(OrClause orClause)
Visit called when accepting a
OrClause . |
Clause |
visit(TerminalClause clause)
Visit called when accepting a
TerminalClause . |
Clause |
visit(WasClause clause)
Visit called when accepting a
WasClause . |
public ClauseReplacingCloningVisitor(List<TerminalClause> substitutions)
public Clause visit(AndClause andClause)
ClauseVisitor
AndClause
.visit
in interface ClauseVisitor<Clause>
andClause
- the node being visited.public Clause visit(NotClause notClause)
ClauseVisitor
NotClause
.visit
in interface ClauseVisitor<Clause>
notClause
- the node being visited.public Clause visit(OrClause orClause)
ClauseVisitor
OrClause
.visit
in interface ClauseVisitor<Clause>
orClause
- the node being visited.public Clause visit(TerminalClause clause)
ClauseVisitor
TerminalClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.public Clause visit(WasClause clause)
ClauseVisitor
WasClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.public Clause visit(ChangedClause clause)
ClauseVisitor
ChangedClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.Copyright © 2002-2021 Atlassian. All Rights Reserved.