Package liqp
Class Insertion
java.lang.Object
liqp.LValue
liqp.Insertion
-
Field Summary
FieldsFields inherited from class liqp.LValue
BREAK, CONTINUE, rubyDateTimeFormat -
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
name
The name of this insertions.
-
-
Constructor Details
-
Insertion
protected Insertion()Used for all package protected insertions in the liqp.insertions-package whose name is their class name lower cased. -
Insertion
Creates a new instance of a Insertion.- Parameters:
name- the name of the tag.
-
-
Method Details
-
getName
Returns the name of this insertion.- Returns:
- The name.
-
render
Renders this insertion.- 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.
-