public override void visit(property_accessors _property_accessors) { DefaultVisit(_property_accessors); pre_do_visit(_property_accessors); visit(property_accessors.read_accessor); visit(property_accessors.write_accessor); post_do_visit(_property_accessors); }
public virtual void post_do_visit(property_accessors _property_accessors) { }
public override void visit(property_accessors _property_accessors) { throw new NotImplementedException(); }
public virtual void visit(property_accessors _property_accessors) { }
public property_accessors NewPropertySpecifiersWrite(ident tkWrite, ident opt_identifier, property_accessors property_specifiers, LexLocation loc) { var nnpsw = property_specifiers; if (nnpsw == null) { nnpsw = new property_accessors(); } if (opt_identifier != null) { nnpsw.write_accessor = new write_accessor_name(opt_identifier, tkWrite.source_context.Merge(opt_identifier.source_context)); } else { nnpsw.write_accessor = new write_accessor_name(opt_identifier, tkWrite.source_context); } nnpsw.source_context = loc; return(nnpsw); }
public virtual void visit(property_accessors _property_accessors) { DefaultVisit(_property_accessors); }
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); }
public property_accessors NewPropertySpecifiersRead(ident tkRead, ident opt_identifier, property_accessors property_specifiers, LexLocation loc) { var nnps = property_specifiers; if (nnps == null) { nnps = new property_accessors(); } if (opt_identifier != null && opt_identifier.name.ToLower() == "write") { nnps.read_accessor = new read_accessor_name(null); nnps.write_accessor = new write_accessor_name(null); nnps.read_accessor.source_context = tkRead.source_context; nnps.write_accessor.source_context = opt_identifier.source_context; } else { if (opt_identifier != null) { nnps.read_accessor = new read_accessor_name(opt_identifier, tkRead.source_context.Merge(opt_identifier.source_context)); } else { nnps.read_accessor = new read_accessor_name(opt_identifier, tkRead.source_context); } } nnps.source_context = loc; return(nnps); }
public override void visit(property_accessors _property_accessors) { prepare_node(_property_accessors.read_accessor, "read accessor"); prepare_node(_property_accessors.write_accessor, "write accessor"); }
public override void visit(property_accessors _property_accessors) { }
public override void visit(property_accessors _property_accessors) { executer.visit(_property_accessors); if (_property_accessors.read_accessor != null) this.visit((dynamic)_property_accessors.read_accessor); if (_property_accessors.write_accessor != null) this.visit((dynamic)_property_accessors.write_accessor); }