internal override void RemoveChild(Node child) { if ( _keyword_func_ == child ) { _keyword_func_ = null; return; } if ( _identifier_ == child ) { _identifier_ = null; return; } if ( _operator_opening_parenthesis_ == child ) { _operator_opening_parenthesis_ = null; return; } if ( _parameterlist_ == child ) { _parameterlist_ = null; return; } if ( _operator_closing_parenthesis_ == child ) { _operator_closing_parenthesis_ = null; return; } if ( _block_ == child ) { _block_ = null; return; } }
public virtual void CaseTKeywordFunc(TKeywordFunc node) { DefaultCase(node); }
public void SetKeywordFunc(TKeywordFunc node) { if(_keyword_func_ != null) { _keyword_func_.Parent(null); } if(node != null) { if(node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _keyword_func_ = node; }
public AFunctiondeclaration( TKeywordFunc _keyword_func_, TIdentifier _identifier_, TOperatorOpeningParenthesis _operator_opening_parenthesis_, PParameterlist _parameterlist_, TOperatorClosingParenthesis _operator_closing_parenthesis_, PBlock _block_ ) { SetKeywordFunc (_keyword_func_); SetIdentifier (_identifier_); SetOperatorOpeningParenthesis (_operator_opening_parenthesis_); SetParameterlist (_parameterlist_); SetOperatorClosingParenthesis (_operator_closing_parenthesis_); SetBlock (_block_); }
internal override void RemoveChild(Node child) { if ( _keyword_func_ == child ) { _keyword_func_ = null; return; } if ( _operator_opening_parenthesis_ == child ) { _operator_opening_parenthesis_ = null; return; } if ( _operator_closing_parenthesis_ == child ) { _operator_closing_parenthesis_ = null; return; } if ( _type_ == child ) { _type_ = null; return; } if ( _block_ == child ) { _block_ = null; return; } }
public AFunction( TKeywordFunc _keyword_func_, TOperatorOpeningParenthesis _operator_opening_parenthesis_, TOperatorClosingParenthesis _operator_closing_parenthesis_, PType _type_, PBlock _block_ ) { SetKeywordFunc (_keyword_func_); SetOperatorOpeningParenthesis (_operator_opening_parenthesis_); SetOperatorClosingParenthesis (_operator_closing_parenthesis_); SetType (_type_); SetBlock (_block_); }
public override void CaseTKeywordFunc(TKeywordFunc node) { index = 32; }