public void SetToken(TLBracket node) { if (_token_ != null) { _token_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _token_ = node; }
internal override void RemoveChild(Node child) { if (_token_ == child) { _token_ = null; return; } if (_type_ == child) { _type_ = null; return; } }
public AArrayTempType( TLBracket _token_, PType _type_, PExp _dimention_, TIntegerLiteral _int_dim_ ) { SetToken(_token_); SetType(_type_); SetDimention(_dimention_); SetIntDim(_int_dim_); }
public ADynamicArrayType( TLBracket _token_, PType _type_ ) { SetToken(_token_); SetType(_type_); }
public AArrayShadyDynamicOps( TLBracket _token_, PExp _exp_ ) { SetToken(_token_); SetExp(_exp_); }
internal override void RemoveChild(Node child) { if (_token_ == child) { _token_ = null; return; } if (_base_ == child) { _base_ = null; return; } if (_index_ == child) { _index_ = null; return; } }
public AArrayLvalue( TLBracket _token_, PExp _base_, PExp _index_ ) { SetToken(_token_); SetBase(_base_); SetIndex(_index_); }
public virtual void CaseTLBracket(TLBracket node) { DefaultCase(node); }
public override void CaseTLBracket(TLBracket node) { index = 57; }