Interface CommandVisitor
- All Known Subinterfaces:
EmitterVisitor
- All Known Implementing Classes:
AbstractCommandVisitor
,CommandVariableUsage
,ConstantFolding
,DeadCodeRemoval
,IgnoreRange
,SanityChecker
,StatefulRangeIgnore
,StatefulVisitor
,SyntheticMapRemoval
,TrackingVisitor
,UniformVisitor
,UnusedVariableRemoval
@ConsumerType
public interface CommandVisitor
The
CommandVisitor
is the mechanism through which a Command
can be processed.-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(Conditional.End conditionalEnd) Process aConditional.End
command.void
visit
(Conditional.Start conditionalStart) Process aConditional.Start
command.void
Process aLoop.End
command.void
visit
(Loop.Start loopStart) Process aLoop.Start
command.void
visit
(OutputVariable outputVariable) Process aOutputVariable
command.void
Process aOutText
command.void
visit
(Procedure.Call procedureCall) Process aProcedure.Call
command.void
visit
(Procedure.End endProcedure) Process aProcedure.End
command.void
visit
(Procedure.Start startProcedure) Process aProcedure.Start
command.void
visit
(VariableBinding.End variableBindingEnd) Process aVariableBinding.End
command.void
visit
(VariableBinding.Global globalAssignment) Process aVariableBinding.Global
command.void
visit
(VariableBinding.Start variableBindingStart) Process aVariableBinding.Start
command.
-
Method Details
-
visit
Process aConditional.Start
command.- Parameters:
conditionalStart
- the command
-
visit
Process aConditional.End
command.- Parameters:
conditionalEnd
- the command
-
visit
Process aVariableBinding.Start
command.- Parameters:
variableBindingStart
- the command
-
visit
Process aVariableBinding.End
command.- Parameters:
variableBindingEnd
- the command
-
visit
Process aVariableBinding.Global
command.- Parameters:
globalAssignment
- the command
-
visit
Process aOutputVariable
command.- Parameters:
outputVariable
- the command
-
visit
Process aOutText
command.- Parameters:
outText
- the command
-
visit
Process aLoop.Start
command.- Parameters:
loopStart
- the command
-
visit
Process aLoop.End
command.- Parameters:
loopEnd
- the command
-
visit
Process aProcedure.Start
command.- Parameters:
startProcedure
- the command
-
visit
Process aProcedure.End
command.- Parameters:
endProcedure
- the command
-
visit
Process aProcedure.Call
command.- Parameters:
procedureCall
- the command
-