Package liqp.tags
Class Include
java.lang.Object
liqp.LValue
liqp.Insertion
liqp.tags.Tag
liqp.tags.Include
- Direct Known Subclasses:
IncludeRelative
-
Field Summary
Fields inherited from class liqp.LValue
BREAK, CONTINUE, rubyDateTimeFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CharStreamWithLocationdetectSource(TemplateContext context, String includeResource) render(TemplateContext context, LNode... nodes) Renders this insertion.Methods inherited from class liqp.LValue
areEqual, asAppendableObject, asArray, asBoolean, asFormattedNumber, asList, asMap, asNumber, asRubyDate, asStrictNumber, asString, asTemporal, canBeDouble, canBeInteger, canBeNumber, isArray, isBlank, isFalsy, isInteger, isMap, isNumber, isString, isTemporal, isTruthy, mapAsArray, temporalAsArray
-
Constructor Details
-
Include
public Include() -
Include
-
-
Method Details
-
render
Description copied from class:InsertionRenders this insertion.- Specified by:
renderin classInsertion- Parameters:
context- the context (variables) with which this node should be rendered.nodes- the nodes of this tag is created with. See the file `src/grammar/LiquidWalker.g` to see how each of the tags is created.- Returns:
- an Object denoting the rendered AST.
-
detectSource
protected CharStreamWithLocation detectSource(TemplateContext context, String includeResource) throws IOException - Throws:
IOException
-