Exemple #1
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked
            {
                switch (hash)
                {
                case 1542788809:
                {
                    this._parent = ((global::haxe.root.Xml)(@value));
                    return(@value);
                }


                case 939528350:
                {
                    this._children = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value)))));
                    return(@value);
                }


                case 1778087414:
                {
                    this._attributes = ((global::haxe.ds.StringMap <object>)(global::haxe.ds.StringMap <object> .__hx_cast <object>(((global::haxe.ds.StringMap)(@value)))));
                    return(@value);
                }


                case 831576528:
                {
                    this._nodeValue = global::haxe.lang.Runtime.toString(@value);
                    return(@value);
                }


                case 974309580:
                {
                    this._nodeName = global::haxe.lang.Runtime.toString(@value);
                    return(@value);
                }


                case 1988514268:
                {
                    this.nodeType = ((global::_Xml.RealXmlType)(@value));
                    return(@value);
                }


                default:
                {
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
        }
Exemple #2
0
		public override   object __hx_setField(string field, int hash, object @value, bool handleProperties)
		{
			unchecked 
			{
				switch (hash)
				{
					case 1542788809:
					{
						this._parent = ((global::haxe.root.Xml) (@value) );
						return @value;
					}
					
					
					case 939528350:
					{
						this._children = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) );
						return @value;
					}
					
					
					case 1778087414:
					{
						this._attributes = ((global::haxe.ds.StringMap<object>) (global::haxe.ds.StringMap<object>.__hx_cast<object>(((global::haxe.ds.StringMap) (@value) ))) );
						return @value;
					}
					
					
					case 831576528:
					{
						this._nodeValue = global::haxe.lang.Runtime.toString(@value);
						return @value;
					}
					
					
					case 974309580:
					{
						this._nodeName = global::haxe.lang.Runtime.toString(@value);
						return @value;
					}
					
					
					case 1988514268:
					{
						this.nodeType = ((global::_Xml.RealXmlType) (@value) );
						return @value;
					}
					
					
					default:
					{
						return base.__hx_setField(field, hash, @value, handleProperties);
					}
					
				}
				
			}
		}