示例#1
0
        public void SetB(TNewline node)
        {
            if(_b_ != null)
            {
            _b_.Parent(null);
            }

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

            node.Parent(this);
            }

            _b_ = node;
        }
示例#2
0
 internal override void RemoveChild(Node child)
 {
     if ( _tabblockinside_ == child )
     {
     _tabblockinside_ = null;
     return;
     }
     if ( _newline_ == child )
     {
     _newline_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
 }
示例#3
0
     public ADocument(
         TNewline _a_,
         IList _import_,
         IList _scopealteration_,
         PDocumentinside _documentinside_,
         TNewline _b_
 )
     {
         SetA (_a_);
         this._import_ = new TypedList(new Import_Cast(this));
         this._import_.Clear();
         this._import_.AddAll(_import_);
         this._scopealteration_ = new TypedList(new Scopealteration_Cast(this));
         this._scopealteration_.Clear();
         this._scopealteration_.AddAll(_scopealteration_);
         SetDocumentinside (_documentinside_);
         SetB (_b_);
     }
示例#4
0
     public AParenthetical(
         TOperatorOpeningParenthesis _operator_opening_parenthesis_,
         PExpression _expression_,
         TNewline _newline_,
         TOperatorClosingParenthesis _operator_closing_parenthesis_
 )
     {
         SetOperatorOpeningParenthesis (_operator_opening_parenthesis_);
         SetExpression (_expression_);
         SetNewline (_newline_);
         SetOperatorClosingParenthesis (_operator_closing_parenthesis_);
     }
示例#5
0
     public ABTabblockinside(
         PTabblockinside _tabblockinside_,
         TNewline _newline_,
         PExpression _expression_
 )
     {
         SetTabblockinside (_tabblockinside_);
         SetNewline (_newline_);
         SetExpression (_expression_);
     }
示例#6
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;
     }
 }
示例#7
0
        public void SetNewline(TNewline node)
        {
            if(_newline_ != null)
            {
            _newline_.Parent(null);
            }

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

            node.Parent(this);
            }

            _newline_ = node;
        }
示例#8
0
     public AUsing(
         TKeywordUsing _keyword_using_,
         TIdentifier _identifier_,
         TNewline _newline_
 )
     {
         SetKeywordUsing (_keyword_using_);
         SetIdentifier (_identifier_);
         SetNewline (_newline_);
     }
示例#9
0
     public ABDeclarefirstlist(
         PDeclarefirstlist _declarefirstlist_,
         TNewline _newline_,
         PDeclarefirst _declarefirst_
 )
     {
         SetDeclarefirstlist (_declarefirstlist_);
         SetNewline (_newline_);
         SetDeclarefirst (_declarefirst_);
     }
示例#10
0
     public ATabblock(
         TNewline _a_,
         TIndentOpen _indent_open_,
         PTabblockinside _tabblockinside_,
         TNewline _b_,
         TIndentClose _indent_close_
 )
     {
         SetA (_a_);
         SetIndentOpen (_indent_open_);
         SetTabblockinside (_tabblockinside_);
         SetB (_b_);
         SetIndentClose (_indent_close_);
     }
示例#11
0
 internal override void RemoveChild(Node child)
 {
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _indent_open_ == child )
     {
     _indent_open_ = null;
     return;
     }
     if ( _tabblockinside_ == child )
     {
     _tabblockinside_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
     if ( _indent_close_ == child )
     {
     _indent_close_ = null;
     return;
     }
 }
示例#12
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_plane_ == child )
     {
     _keyword_plane_ = null;
     return;
     }
     if ( _string_ == child )
     {
     _string_ = null;
     return;
     }
     if ( _newline_ == child )
     {
     _newline_ = null;
     return;
     }
 }
示例#13
0
     public APlanereference(
         TKeywordPlane _keyword_plane_,
         TString _string_,
         TNewline _newline_
 )
     {
         SetKeywordPlane (_keyword_plane_);
         SetString (_string_);
         SetNewline (_newline_);
     }
示例#14
0
 internal override void RemoveChild(Node child)
 {
     if ( _operator_opening_parenthesis_ == child )
     {
     _operator_opening_parenthesis_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
     if ( _newline_ == child )
     {
     _newline_ = null;
     return;
     }
     if ( _operator_closing_parenthesis_ == child )
     {
     _operator_closing_parenthesis_ = null;
     return;
     }
 }
示例#15
0
 internal override void RemoveChild(Node child)
 {
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _import_.Contains(child) )
     {
     _import_.Remove(child);
     return;
     }
     if ( _scopealteration_.Contains(child) )
     {
     _scopealteration_.Remove(child);
     return;
     }
     if ( _documentinside_ == child )
     {
     _documentinside_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
 }
示例#16
0
 internal override void RemoveChild(Node child)
 {
     if ( _declarefirstlist_ == child )
     {
     _declarefirstlist_ = null;
     return;
     }
     if ( _newline_ == child )
     {
     _newline_ = null;
     return;
     }
     if ( _declarefirst_ == child )
     {
     _declarefirst_ = null;
     return;
     }
 }
示例#17
0
     public AExpose(
         TKeywordExpose _keyword_expose_,
         TIdentifier _identifier_,
         TNewline _newline_
 )
     {
         SetKeywordExpose (_keyword_expose_);
         SetIdentifier (_identifier_);
         SetNewline (_newline_);
     }
示例#18
0
     public ABracetabblock(
         TOperatorOpeningBrace _operator_opening_brace_,
         TNewline _a_,
         PTabblock _tabblock_,
         TNewline _b_,
         TOperatorClosingBrace _operator_closing_brace_
 )
     {
         SetOperatorOpeningBrace (_operator_opening_brace_);
         SetA (_a_);
         SetTabblock (_tabblock_);
         SetB (_b_);
         SetOperatorClosingBrace (_operator_closing_brace_);
     }
示例#19
0
     public AImport(
         TKeywordImport _keyword_import_,
         TString _string_,
         TNewline _newline_
 )
     {
         SetKeywordImport (_keyword_import_);
         SetString (_string_);
         SetNewline (_newline_);
     }
示例#20
0
 internal override void RemoveChild(Node child)
 {
     if ( _operator_opening_brace_ == child )
     {
     _operator_opening_brace_ = null;
     return;
     }
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _tabblock_ == child )
     {
     _tabblock_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
     if ( _operator_closing_brace_ == child )
     {
     _operator_closing_brace_ = null;
     return;
     }
 }
示例#21
0
 public virtual void CaseTNewline(TNewline node)
 {
     DefaultCase(node);
 }
示例#22
0
 public override void CaseTNewline(TNewline node)
 {
     index = 38;
 }