public ASimpleInvokeExp( TIdentifier _name_, IList _args_ ) { SetName(_name_); this._args_ = new TypedList(new Args_Cast(this)); this._args_.Clear(); this._args_.AddAll(_args_); }
internal override void RemoveChild(Node child) { if (_name_ == child) { _name_ = null; return; } }
public AALocalDeclRight( TIdentifier _name_, PAssignop _assignop_, PExp _init_ ) { SetName(_name_); SetAssignop(_assignop_); SetInit(_init_); }
public AEnumDecl( PVisibilityModifier _visibility_modifier_, TStatic _static_, TEnum _token_, TIdentifier _name_, IList _values_, TRBrace _end_token_ ) { SetVisibilityModifier(_visibility_modifier_); SetStatic(_static_); SetToken(_token_); SetName(_name_); this._values_ = new TypedList(new Values_Cast(this)); this._values_.Clear(); this._values_.AddAll(_values_); SetEndToken(_end_token_); }
public AFieldDecl( PVisibilityModifier _visibility_modifier_, TStatic _static_, TConst _const_, PType _type_, TIdentifier _name_, PExp _init_ ) { SetVisibilityModifier(_visibility_modifier_); SetStatic(_static_); SetConst(_const_); SetType(_type_); SetName(_name_); SetInit(_init_); }
public AALocalDecl( PVisibilityModifier _visibility_modifier_, TStatic _static_, TRef _ref_, TOut _out_, TConst _const_, PType _type_, TIdentifier _name_, PExp _init_ ) { SetVisibilityModifier(_visibility_modifier_); SetStatic(_static_); SetRef(_ref_); SetOut(_out_); SetConst(_const_); SetType(_type_); SetName(_name_); SetInit(_init_); }
public void SetToken(TIdentifier node) { if (_token_ != null) { _token_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _token_ = node; }
public AThisArrayPropertyDecl( PVisibilityModifier _visibility_modifier_, PType _type_, TThis _token_, PType _arg_type_, TIdentifier _arg_name_, PBlock _getter_, PBlock _setter_ ) { SetVisibilityModifier(_visibility_modifier_); SetType(_type_); SetToken(_token_); SetArgType(_arg_type_); SetArgName(_arg_name_); SetGetter(_getter_); SetSetter(_setter_); }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_type_ == child) { _type_ = null; return; } if (_token_ == child) { _token_ = null; return; } if (_arg_type_ == child) { _arg_type_ = null; return; } if (_arg_name_ == child) { _arg_name_ = null; return; } if (_getter_ == child) { _getter_ = null; return; } if (_setter_ == child) { _setter_ = null; return; } }
internal override void RemoveChild(Node child) { if (_receiver_ == child) { _receiver_ = null; return; } if (_dot_type_ == child) { _dot_type_ = null; return; } if (_name_ == child) { _name_ = null; return; } }
public AArrayResizeExp( TIdentifier _token_, PExp _base_, PExp _arg_ ) { SetToken(_token_); SetBase(_base_); SetArg(_arg_); }
public AStructLvalue( PExp _receiver_, PDotType _dot_type_, TIdentifier _name_ ) { SetReceiver(_receiver_); SetDotType(_dot_type_); SetName(_name_); }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_class_token_ == child) { _class_token_ = null; return; } if (_dimention_ == child) { _dimention_ = null; return; } if (_int_dim_ == child) { _int_dim_ = null; return; } if (_end_token_ == child) { _end_token_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_generic_vars_.Contains(child)) { _generic_vars_.Remove(child); return; } if (_base_ == child) { _base_ = null; return; } if (_locals_.Contains(child)) { _locals_.Remove(child); return; } }
public AStructDecl( PVisibilityModifier _visibility_modifier_, TClassToken _class_token_, PExp _dimention_, TIntegerLiteral _int_dim_, TRBrace _end_token_, TIdentifier _name_, IList _generic_vars_, PType _base_, IList _locals_ ) { SetVisibilityModifier(_visibility_modifier_); SetClassToken(_class_token_); SetDimention(_dimention_); SetIntDim(_int_dim_); SetEndToken(_end_token_); SetName(_name_); this._generic_vars_ = new TypedList(new GenericVars_Cast(this)); this._generic_vars_.Clear(); this._generic_vars_.AddAll(_generic_vars_); SetBase(_base_); this._locals_ = new TypedList(new Locals_Cast(this)); this._locals_.Clear(); this._locals_.AddAll(_locals_); }
public ADeconstructorDecl( PVisibilityModifier _visibility_modifier_, TIdentifier _name_, IList _formals_, PBlock _block_ ) { SetVisibilityModifier(_visibility_modifier_); SetName(_name_); this._formals_ = new TypedList(new Formals_Cast(this)); this._formals_.Clear(); this._formals_.AddAll(_formals_); SetBlock(_block_); }
public ATriggerDecl( PVisibilityModifier _visibility_modifier_, TIdentifier _name_, TEvents _event_token_, PBlock _events_, TConditions _conditions_token_, PBlock _conditions_, TActions _actions_token_, PBlock _actions_ ) { SetVisibilityModifier(_visibility_modifier_); SetName(_name_); SetEventToken(_event_token_); SetEvents(_events_); SetConditionsToken(_conditions_token_); SetConditions(_conditions_); SetActionsToken(_actions_token_); SetActions(_actions_); }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_formals_.Contains(child)) { _formals_.Remove(child); return; } if (_block_ == child) { _block_ = null; return; } }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_event_token_ == child) { _event_token_ = null; return; } if (_events_ == child) { _events_ = null; return; } if (_conditions_token_ == child) { _conditions_token_ = null; return; } if (_conditions_ == child) { _conditions_ = null; return; } if (_actions_token_ == child) { _actions_token_ = null; return; } if (_actions_ == child) { _actions_ = null; return; } }
public ADelegateInvokeExp( TIdentifier _token_, PExp _receiver_, IList _args_ ) { SetToken(_token_); SetReceiver(_receiver_); this._args_ = new TypedList(new Args_Cast(this)); this._args_.Clear(); this._args_.AddAll(_args_); }
internal override void RemoveChild(Node child) { if (_token_ == child) { _token_ = null; return; } if (_base_ == child) { _base_ = null; return; } if (_arg_ == child) { _arg_ = null; return; } }
internal override void RemoveChild(Node child) { if (_token_ == child) { _token_ = null; return; } if (_receiver_ == child) { _receiver_ = null; return; } if (_args_.Contains(child)) { _args_.Remove(child); return; } }
public ATypeLvalue( TIdentifier _name_ ) { SetName(_name_); }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_static_ == child) { _static_ = null; return; } if (_token_ == child) { _token_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_values_.Contains(child)) { _values_.Remove(child); return; } if (_end_token_ == child) { _end_token_ = null; return; } }
public AASourceFile( IList _decl_, TIdentifier _name_, IList _usings_ ) { this._decl_ = new TypedList(new Decl_Cast(this)); this._decl_.Clear(); this._decl_.AddAll(_decl_); SetName(_name_); this._usings_ = new TypedList(new Usings_Cast(this)); this._usings_.Clear(); this._usings_.AddAll(_usings_); }
public AFieldLvalue( TIdentifier _name_ ) { SetName(_name_); }
internal override void RemoveChild(Node child) { if (_decl_.Contains(child)) { _decl_.Remove(child); return; } if (_name_ == child) { _name_ = null; return; } if (_usings_.Contains(child)) { _usings_.Remove(child); return; } }
internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_static_ == child) { _static_ = null; return; } if (_ref_ == child) { _ref_ = null; return; } if (_out_ == child) { _out_ = null; return; } if (_const_ == child) { _const_ = null; return; } if (_type_ == child) { _type_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_init_ == child) { _init_ = null; return; } }
public AAEnumLocal( TIdentifier _name_, PExp _value_ ) { SetName(_name_); SetValue(_value_); }
public void SetName(TIdentifier node) { if (_name_ != null) { _name_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _name_ = node; }
public APropertyLvalue( TIdentifier _name_ ) { SetName(_name_); }