Пример #1
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;
     }
 }
Пример #2
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;
     }
 }
Пример #3
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_);
     }
Пример #4
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_expose_ == child )
     {
     _keyword_expose_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _newline_ == child )
     {
     _newline_ = null;
     return;
     }
 }
Пример #5
0
     public AExtractmember(
         PSimple _simple_,
         TOperatorExtractMember _operator_extract_member_,
         TIdentifier _identifier_
 )
     {
         SetSimple (_simple_);
         SetOperatorExtractMember (_operator_extract_member_);
         SetIdentifier (_identifier_);
     }
Пример #6
0
 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;
     }
 }
Пример #7
0
     public AParameter(
         TIdentifier _identifier_
 )
     {
         SetIdentifier (_identifier_);
     }
Пример #8
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;
     }
 }
Пример #9
0
     public ADeclarefirstnormal(
         TKeywordDeclfirst _keyword_declfirst_,
         TIdentifier _identifier_,
         TOperatorAssign _operator_assign_,
         PExpression _expression_
 )
     {
         SetKeywordDeclfirst (_keyword_declfirst_);
         SetIdentifier (_identifier_);
         SetOperatorAssign (_operator_assign_);
         SetExpression (_expression_);
     }
Пример #10
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_);
     }
Пример #11
0
     public ADeclareempty(
         TKeywordDecl _keyword_decl_,
         PSimple _simple_,
         TIdentifier _identifier_
 )
     {
         SetKeywordDecl (_keyword_decl_);
         SetSimple (_simple_);
         SetIdentifier (_identifier_);
     }
Пример #12
0
 internal override void RemoveChild(Node child)
 {
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
 }
Пример #13
0
     public AAPrimary(
         TIdentifier _identifier_
 )
     {
         SetIdentifier (_identifier_);
     }
Пример #14
0
     public AUsing(
         TKeywordUsing _keyword_using_,
         TIdentifier _identifier_,
         TNewline _newline_
 )
     {
         SetKeywordUsing (_keyword_using_);
         SetIdentifier (_identifier_);
         SetNewline (_newline_);
     }
Пример #15
0
     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_);
     }
Пример #16
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_declfirst_ == child )
     {
     _keyword_declfirst_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _operator_assign_ == child )
     {
     _operator_assign_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
 }
Пример #17
0
        public void SetIdentifier(TIdentifier node)
        {
            if(_identifier_ != null)
            {
            _identifier_.Parent(null);
            }

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

            node.Parent(this);
            }

            _identifier_ = node;
        }
Пример #18
0
     public AExpose(
         TKeywordExpose _keyword_expose_,
         TIdentifier _identifier_,
         TNewline _newline_
 )
     {
         SetKeywordExpose (_keyword_expose_);
         SetIdentifier (_identifier_);
         SetNewline (_newline_);
     }
Пример #19
0
 public virtual void CaseTIdentifier(TIdentifier node)
 {
     DefaultCase(node);
 }
Пример #20
0
 public override void CaseTIdentifier(TIdentifier node)
 {
     index = 39;
 }