Class AbstractCommandVisitor
- java.lang.Object
-
- org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
-
- All Implemented Interfaces:
CommandVisitor
public abstract class AbstractCommandVisitor extends java.lang.Object implements CommandVisitor
This class can be extended byCommandVisitor
implementations that don't provide support for all the availableCommand
s.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(Conditional.End conditionalEnd)
Process aConditional.End
command.void
visit(Conditional.Start conditionalStart)
Process aConditional.Start
command.void
visit(Loop.End loopEnd)
Process aLoop.End
command.void
visit(Loop.Start loopStart)
Process aLoop.Start
command.void
visit(OutputVariable outputVariable)
Process aOutputVariable
command.void
visit(OutText outText)
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 Detail
-
visit
public void visit(Conditional.Start conditionalStart)
Description copied from interface:CommandVisitor
Process aConditional.Start
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
conditionalStart
- the command
-
visit
public void visit(Conditional.End conditionalEnd)
Description copied from interface:CommandVisitor
Process aConditional.End
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
conditionalEnd
- the command
-
visit
public void visit(VariableBinding.Start variableBindingStart)
Description copied from interface:CommandVisitor
Process aVariableBinding.Start
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
variableBindingStart
- the command
-
visit
public void visit(VariableBinding.End variableBindingEnd)
Description copied from interface:CommandVisitor
Process aVariableBinding.End
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
variableBindingEnd
- the command
-
visit
public void visit(VariableBinding.Global globalAssignment)
Description copied from interface:CommandVisitor
Process aVariableBinding.Global
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
globalAssignment
- the command
-
visit
public void visit(OutputVariable outputVariable)
Description copied from interface:CommandVisitor
Process aOutputVariable
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
outputVariable
- the command
-
visit
public void visit(OutText outText)
Description copied from interface:CommandVisitor
Process aOutText
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
outText
- the command
-
visit
public void visit(Loop.Start loopStart)
Description copied from interface:CommandVisitor
Process aLoop.Start
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
loopStart
- the command
-
visit
public void visit(Loop.End loopEnd)
Description copied from interface:CommandVisitor
Process aLoop.End
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
loopEnd
- the command
-
visit
public void visit(Procedure.Start startProcedure)
Description copied from interface:CommandVisitor
Process aProcedure.Start
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
startProcedure
- the command
-
visit
public void visit(Procedure.End endProcedure)
Description copied from interface:CommandVisitor
Process aProcedure.End
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
endProcedure
- the command
-
visit
public void visit(Procedure.Call procedureCall)
Description copied from interface:CommandVisitor
Process aProcedure.Call
command.- Specified by:
visit
in interfaceCommandVisitor
- Parameters:
procedureCall
- the command
-
-