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
public class MacroContext extends BlockScope
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
Fields Modifier and Type Field Description freemarker.core.ast.ParameterListbodyParameters-
Fields inherited from interface freemarker.template.TemplateModel
INVALID_EXPRESSION, JAVA_NULL, NOTHING
-
-
Constructor Summary
Constructors Constructor Description MacroContext(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, put
-
Methods inherited from class freemarker.core.BaseScope
clear, get, getDirectVariableNames, isEmpty, keys, remove, size, values
-
Methods inherited from class freemarker.core.AbstractScope
getEnclosingScope, getEnvironment, resolveVariable
-
-
-
-
Constructor Detail
-
MacroContext
public MacroContext(freemarker.core.ast.Macro macro, Environment env, freemarker.core.ast.TemplateElement body, freemarker.core.ast.ParameterList bodyParameters)
-
-