docs: public void setEscapingDirectives(
        SoyNode node, Context context, List<EscapingMode> escapingModes) {
      Preconditions.checkArgument(
          (node instanceof PrintNode)
              || (node instanceof CallNode)
              || (node instanceof MsgFallbackGroupNode),
          "Escaping directives may only be set for {print}, {msg}, or {call} nodes");
      if (escapingModes != null) {
        nodeToEscapingModes.put(node, ImmutableList.copyOf(escapingModes));
      }
      nodeToContext.put(node, context);
    }