public simple_property NewSimplePropertyDefinition(method_name qualified_identifier,
                                                               property_interface property_interface, property_accessors property_specifiers,
                                                               proc_attribute virt_over_none_attr, property_array_default array_defaultproperty, LexLocation loc)
            {
                var nnspd = new simple_property();

                nnspd.virt_over_none_attr = virt_over_none_attr;

                nnspd.property_name = qualified_identifier.meth_name;
                if (property_interface != null)
                {
                    nnspd.parameter_list   = property_interface.parameter_list;
                    nnspd.property_type    = property_interface.property_type;
                    nnspd.index_expression = property_interface.index_expression;
                }

                if (property_specifiers != null)
                {
                    nnspd.accessors = property_specifiers;
                }
                if (array_defaultproperty != null)
                {
                    nnspd.array_default = array_defaultproperty;
                }
                nnspd.source_context = loc;
                return(nnspd);
            }
示例#2
0
 public override void visit(property_interface _property_interface)
 {
 }
示例#3
0
 public virtual void visit(property_interface _property_interface)
 {
     DefaultVisit(_property_interface);
 }
示例#4
0
		public virtual void post_do_visit(property_interface _property_interface)
		{
		}
示例#5
0
		public override void visit(property_interface _property_interface)
		{
			DefaultVisit(_property_interface);
			pre_do_visit(_property_interface);
			visit(property_interface.parameter_list);
			visit(property_interface.property_type);
			visit(property_interface.index_expression);
			post_do_visit(_property_interface);
		}
示例#6
0
 public virtual void visit(property_interface _property_interface)
 {
 }
示例#7
0
 public override void visit(property_interface _property_interface)
 {
     throw new NotImplementedException();
 }
示例#8
0
		public virtual void visit(property_interface _property_interface)
		{
		}
		public virtual void visit(property_interface _property_interface)
		{
			DefaultVisit(_property_interface);
		}
示例#10
0
		public override void visit(property_interface _property_interface)
		{
			executer.visit(_property_interface);
			if (_property_interface.parameter_list != null)
				this.visit((dynamic)_property_interface.parameter_list);
			if (_property_interface.property_type != null)
				this.visit((dynamic)_property_interface.property_type);
			if (_property_interface.index_expression != null)
				this.visit((dynamic)_property_interface.index_expression);
		}