Package freemarker.template.instruction

The compiled versions of FM-Classic instructions are implemented in this package.

See:
          Description

Interface Summary
ContainerInstruction An implementation for instructions that contain other elements, such as text or other instructions.
Instruction An interface that parsed instructions must implement.
TemplateFunctionModel Functions in a template data model must implement this interface.
UnparsedInstruction Abstract class that deals with unparsed instructions, ie.
 

Class Summary
AssignBlockInstruction An instruction that assigns a template block to a single-identifier variable.
AssignInstruction An instruction that assigns a literal or reference to a single-identifier variable.
BreakInstruction An instruction that represents a break in execution, either within a case statement of a switch, or within a list or foreach loop.
CallInstruction An instruction representing a function call.
CaseInstruction Represents a case in a switch statement.
CommentInstruction An instruction for commenting out a block of text or adding a remark.
DefaultCaseInstruction Represents a case in a switch statement.
ElseInstruction An instruction representing an if-else structure.
EmptyInstruction A superclass for Instructions that have no associated EndInstruction.
EndInstruction Represents an end instruction.
ExitInstruction An instruction that represents an exit point from a function.
FunctionInstruction An instruction representing a function definition.
FunctionModel An immutable TemplateModel wrapper for a FunctionInstructions.
GenericStartInstruction A superclass for instructions that have a body and a single end instruction, and that can produce output.
IfElseInstruction A instruction that handles if-elseif-else functionality.
IfInstruction An instruction representing an if-else structure.
IncludeInstruction An instruction that gets another template from a Cache, and processes it within the current template.
ListInstruction An instruction that processes a TemplateListModel or TemplateListModel2.
LocalInstruction An instruction representing a local instruction.
NOOPInstruction An instruction that does nothing.
NoParseInstruction An instruction for containing an arbitrary block of text that is not parsed any further by FM-Classic.
SwitchInstruction An instruction representing a switch-case structure.
TextBlockInstruction A TemplateProcessor representing a block of plain text.
TransformInstruction An instruction that processes a TemplateTransformModel.
VariableInstruction An instruction that outputs the value of a Variable.
 

Enum Summary
Instruction.EndType Enumerates the type of end instructions that can terminate a given instruction.
 

Package freemarker.template.instruction Description

The compiled versions of FM-Classic instructions are implemented in this package. Instructions are all implementations of the Instruction interface. Various other inheritance structures are used, mainly to simplify processing by the LinkedListTemplateBuilder class.