示例#1
0
     public ADeclareempty(
         TKeywordDecl _keyword_decl_,
         PSimple _simple_,
         TIdentifier _identifier_
 )
     {
         SetKeywordDecl (_keyword_decl_);
         SetSimple (_simple_);
         SetIdentifier (_identifier_);
     }
示例#2
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_decl_ == child )
     {
     _keyword_decl_ = null;
     return;
     }
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
 }
示例#3
0
     public ADeclareassign(
         TKeywordDecl _keyword_decl_,
         PSimple _simple_,
         TIdentifier _identifier_,
         TOperatorAssign _operator_assign_,
         PExpression _expression_
 )
     {
         SetKeywordDecl (_keyword_decl_);
         SetSimple (_simple_);
         SetIdentifier (_identifier_);
         SetOperatorAssign (_operator_assign_);
         SetExpression (_expression_);
     }
示例#4
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_decl_ == child )
     {
     _keyword_decl_ = null;
     return;
     }
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _operator_assign_ == child )
     {
     _operator_assign_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
 }
示例#5
0
        public void SetB(PSimple node)
        {
            if(_b_ != null)
            {
            _b_.Parent(null);
            }

            if(node != null)
            {
            if(node.Parent() != null)
            {
                node.Parent().RemoveChild(node);
            }

            node.Parent(this);
            }

            _b_ = node;
        }
示例#6
0
     public ATest(
         PSimple _a_,
         PComparisonfunction _comparisonfunction_,
         PSimple _b_
 )
     {
         SetA (_a_);
         SetComparisonfunction (_comparisonfunction_);
         SetB (_b_);
     }
示例#7
0
     public ACall(
         PSimple _simple_,
         TOperatorOpeningParenthesis _operator_opening_parenthesis_,
         PArgumentlist _argumentlist_,
         TOperatorClosingParenthesis _operator_closing_parenthesis_
 )
     {
         SetSimple (_simple_);
         SetOperatorOpeningParenthesis (_operator_opening_parenthesis_);
         SetArgumentlist (_argumentlist_);
         SetOperatorClosingParenthesis (_operator_closing_parenthesis_);
     }
示例#8
0
 internal override void RemoveChild(Node child)
 {
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
     if ( _operator_extract_member_ == child )
     {
     _operator_extract_member_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
 }
示例#9
0
     public ABooleanlogic(
         PSimple _a_,
         PBooleanfunction _booleanfunction_,
         PSimple _b_
 )
     {
         SetA (_a_);
         SetBooleanfunction (_booleanfunction_);
         SetB (_b_);
     }
示例#10
0
 internal override void RemoveChild(Node child)
 {
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _booleanfunction_ == child )
     {
     _booleanfunction_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
 }
示例#11
0
     public ABMult(
         PSimple _a_,
         TOperatorTimes _operator_times_,
         PSimple _b_
 )
     {
         SetA (_a_);
         SetOperatorTimes (_operator_times_);
         SetB (_b_);
     }
示例#12
0
 internal override void RemoveChild(Node child)
 {
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
 }
示例#13
0
     public AAMult(
         PSimple _simple_
 )
     {
         SetSimple (_simple_);
     }
示例#14
0
     public AExtractmember(
         PSimple _simple_,
         TOperatorExtractMember _operator_extract_member_,
         TIdentifier _identifier_
 )
     {
         SetSimple (_simple_);
         SetOperatorExtractMember (_operator_extract_member_);
         SetIdentifier (_identifier_);
     }
示例#15
0
 internal override void RemoveChild(Node child)
 {
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
     if ( _operator_opening_parenthesis_ == child )
     {
     _operator_opening_parenthesis_ = null;
     return;
     }
     if ( _argumentlist_ == child )
     {
     _argumentlist_ = null;
     return;
     }
     if ( _operator_closing_parenthesis_ == child )
     {
     _operator_closing_parenthesis_ = null;
     return;
     }
 }
示例#16
0
        public void SetSimple(PSimple node)
        {
            if(_simple_ != null)
            {
            _simple_.Parent(null);
            }

            if(node != null)
            {
            if(node.Parent() != null)
            {
                node.Parent().RemoveChild(node);
            }

            node.Parent(this);
            }

            _simple_ = node;
        }
示例#17
0
     public ACMult(
         PSimple _a_,
         TOperatorDivide _operator_divide_,
         PSimple _b_
 )
     {
         SetA (_a_);
         SetOperatorDivide (_operator_divide_);
         SetB (_b_);
     }
示例#18
0
     public AForrange(
         TKeywordFor _keyword_for_,
         TIdentifier _identifier_,
         TKeywordFrom _keyword_from_,
         PSimple _a_,
         TKeywordTo _keyword_to_,
         PSimple _b_,
         PBlock _block_
 )
     {
         SetKeywordFor (_keyword_for_);
         SetIdentifier (_identifier_);
         SetKeywordFrom (_keyword_from_);
         SetA (_a_);
         SetKeywordTo (_keyword_to_);
         SetB (_b_);
         SetBlock (_block_);
     }
示例#19
0
 internal override void RemoveChild(Node child)
 {
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _operator_divide_ == child )
     {
     _operator_divide_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
 }
示例#20
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_for_ == child )
     {
     _keyword_for_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _keyword_from_ == child )
     {
     _keyword_from_ = null;
     return;
     }
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _keyword_to_ == child )
     {
     _keyword_to_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
     if ( _block_ == child )
     {
     _block_ = null;
     return;
     }
 }
示例#21
0
     public AAIfexpr(
         PSimple _simple_
 )
     {
         SetSimple (_simple_);
     }