Package liqp.blocks
Class If
java.lang.Object
liqp.LValue
liqp.Insertion
liqp.blocks.Block
liqp.blocks.If
-
Field Summary
Fields inherited from class liqp.LValue
BREAK, CONTINUE, rubyDateTimeFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrender(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
-
If
public If()
-
-
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.
-