internal void DefineCapturedVariable(int scope_id, string name, string captured_name, CapturedVariable.CapturedKind kind) { if (reader != null) { throw new InvalidOperationException(); } AnonymousScopeEntry scope = anonymous_scopes [scope_id]; scope.AddCapturedVariable(name, captured_name, kind); }
internal void AddCapturedVariable(string name, string captured_name, CapturedVariable.CapturedKind kind) { captured_vars.Add(new CapturedVariable(name, captured_name, kind)); }
internal CapturedVariable(MyBinaryReader reader) { this.Name = reader.ReadString(); this.CapturedName = reader.ReadString(); this.Kind = (CapturedVariable.CapturedKind)reader.ReadByte(); }
public CapturedVariable(string name, string captured_name, CapturedVariable.CapturedKind kind) { this.Name = name; this.CapturedName = captured_name; this.Kind = kind; }
internal CapturedVariable(MyBinaryReader reader) { this.Name = reader.ReadString(); this.CapturedName = reader.ReadString(); this.Kind = (CapturedVariable.CapturedKind)reader.ReadByte(); }
public CapturedVariable(string name, string captured_name, CapturedVariable.CapturedKind kind) { this.Name = name; this.CapturedName = captured_name; this.Kind = kind; }