public void Visit(JsObjectLiteralField node)
 {
     if (node != null)
     {
         if (node.PrimitiveType == JsPrimitiveType.String)
         {
             // must be double-quoted string with a limited number of escapes
             OutputString(node.Value.ToString());
         }
         else
         {
             // really the property names can only be strings, so this
             // branch means the input was invalid.
             m_writer.Write('"');
             Visit(node as JsConstantWrapper);
             m_writer.Write('"');
         }
     }
 }
 public void Visit(JsObjectLiteralField node)
 {
     // shoudn't get here
     Debug.Fail("shouldn't get here");
 }
Example #3
0
 public void Visit(JsObjectLiteralField node)
 {
     // not applicable; terminate
 }
Example #4
0
 public void Visit(JsObjectLiteralField node)
 {
     // nothing to do
 }