Exemple #1
0
 public override void Visit(PropertyAssignment node)
 {
   VisitNode(node.Expression);
   Visit((Node)node);
 }
Exemple #2
0
      public override void Visit(PropertyAssignment node)
      {
        //We start by having an instance of the object on the stack, we should leave one at the end
        _ilGen.Dup();
        //TODO: instead we can load the fieldId(v.key). 
        _ilGen.Ldstr(node.Name);
        Debug.Assert(node.Expression != null, "At this point only data fields for object literals is supported");
        VisitNode(node.Expression);
        _ilGen.Callvirt(Types.DObject.SetField(mdr.ValueTypes.String, _result.ValueType));

      }
 public override void Visit(PropertyAssignment node) { Visit((Node)node); }
 public override void Visit(PropertyAssignment node)
 {
   throw new NotImplementedException();
 }
Exemple #5
0
 public override void Visit(PropertyAssignment node)
 {
     Visit((Node)node);
 }
Exemple #6
0
 public abstract void Visit(PropertyAssignment node);
 public override void Visit(PropertyAssignment node) { throw new InvalidOperationException(); }