Package freemarker.core
Class MacroContext
java.lang.Object
freemarker.core.AbstractScope
freemarker.core.BaseScope
freemarker.core.BlockScope
freemarker.core.MacroContext
- All Implemented Interfaces:
Scope,TemplateHashModel,TemplateHashModelEx,TemplateModel
Represents the context or scope of the
execution of an FTL macro.
-
Nested Class Summary
Nested classes/interfaces inherited from interface freemarker.template.TemplateModel
TemplateModel.InvalidExpressionModel, TemplateModel.JavaNull -
Field Summary
FieldsFields inherited from interface freemarker.template.TemplateModel
INVALID_EXPRESSION, JAVA_NULL, NOTHING -
Constructor Summary
ConstructorsConstructorDescriptionMacroContext(freemarker.core.ast.Macro macro, Environment env, freemarker.core.ast.TemplateElement body, freemarker.core.ast.ParameterList bodyParameters) -
Method Summary
Methods inherited from class freemarker.core.BlockScope
definesVariable, getBlock, getTemplate, putMethods inherited from class freemarker.core.BaseScope
clear, get, getDirectVariableNames, isEmpty, keys, remove, size, valuesMethods inherited from class freemarker.core.AbstractScope
getEnclosingScope, getEnvironment, resolveVariable
-
Field Details
-
bodyParameters
public freemarker.core.ast.ParameterList bodyParameters
-
-
Constructor Details
-
MacroContext
public MacroContext(freemarker.core.ast.Macro macro, Environment env, freemarker.core.ast.TemplateElement body, freemarker.core.ast.ParameterList bodyParameters)
-