private void PopLabelBlock(LabelScopeKind kind)
 {
     Debug.Assert(_labelBlock != null && _labelBlock.Kind == kind);
     _labelBlock = _labelBlock.Parent;
 }
Example #2
0
 internal LabelScopeInfo(LabelScopeInfo parent, LabelScopeKind kind)
 {
     Parent = parent;
     Kind   = kind;
 }
Example #3
0
 internal LabelScopeInfo(LabelScopeInfo parent, LabelScopeKind kind)
 {
     this.Parent = parent;
     this.Kind = kind;
 }
 private void PushLabelBlock(LabelScopeKind type)
 {
     _labelBlock = new LabelScopeInfo(_labelBlock, type);
 }
 private void PopLabelBlock(LabelScopeKind kind)
 {
     Debug.Assert(_labelBlock != null && _labelBlock.Kind == kind);
     _labelBlock = _labelBlock.Parent;
 }
Example #6
0
 internal LabelScopeInfo(LabelScopeInfo parent, LabelScopeKind kind) {
     Parent = parent;
     Kind = kind;
 }
 private void PushLabelBlock(LabelScopeKind type)
 {
     _labelBlock = new LabelScopeInfo(_labelBlock, type);
 }
Example #8
0
 public void PushLabelBlock(LabelScopeKind type)
 {
     this._labelBlock = new LabelScopeInfo(this._labelBlock, type);
 }
Example #9
0
 public void PopLabelBlock(LabelScopeKind kind)
 {
     this._labelBlock = this._labelBlock.Parent;
 }
Example #10
0
 public LabelScopeChangeInfo(LabelScopeInfo parent, LabelScopeKind kind, IList <Expression>?nodes)
 {
     Parent = parent;
     Kind   = kind;
     Nodes  = nodes;
 }
Example #11
0
 internal LabelScopeInfo(LabelScopeInfo parent, LabelScopeKind kind)
 {
     this.Parent = parent;
     this.Kind   = kind;
 }