java.lang.Object
com.google.auto.value.processor.escapevelocity.Node
com.google.auto.value.processor.escapevelocity.Node.Cons
Enclosing class:
Node

private static final class Node.Cons extends Node
  • Field Details

    • nodes

      private final com.google.common.collect.ImmutableList<Node> nodes
  • Constructor Details

    • Cons

      Cons(String resourceName, int lineNumber, com.google.common.collect.ImmutableList<Node> nodes)
  • Method Details

    • evaluate

      Object evaluate(EvaluationContext context)
      Description copied from class: Node
      Returns the result of evaluating this node in the given context. This result may be used as part of a further operation, for example evaluating 2 + 3 to 5 in order to set $x to 5 in #set ($x = 2 + 3). Or it may be used directly as part of the template output, for example evaluating replacing name by Fred in My name is $name..
      Specified by:
      evaluate in class Node