# Class ASTBlock

java.lang.Object
org.apache.cayenne.access.translator.sqltemplate.parser.SimpleNode
org.apache.cayenne.access.translator.sqltemplate.parser.ASTBlock

All Implemented Interfaces:
  `Node`

public class ASTBlock extends SimpleNode
This is a root node of parsed template. It can be nested inside #if .. #else .. #end directive.

Since:
  4.1

- ## Field Summary

  ### Fields inherited from class SimpleNode

  `children, id, parent`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ASTBlock(int id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `evaluate(Context context)`

  ### Methods inherited from class SimpleNode

  `dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ASTBlock

    public ASTBlock(int id)

- ## Method Details

  - ### evaluate

    public void evaluate(Context context)