code: @Override
    protected void visitAndOpNode(AndOpNode node) {
  
      // Recurse.
      visitChildren(node);
  
      // Can simplify if either child is constant. We assume no side-effects.
      SoyValue operand0 = getConstantOrNull(node.getChild(0));
      if (operand0 != null) {
        ExprNode replacementNode = operand0.coerceToBoolean() ? node.getChild(1) : node.getChild(0);
        node.getParent().replaceChild(node, replacementNode);
      }
    }
docs: Implementations for operators.