/// <summary> /// Add a tag to the current scope. /// </summary> /// <param name="tag"></param> /// <param name="t"></param> /// <param name="definition"></param> public TagEntry AddTag(string tag, TUnqualified type, TypeUserSpec node) { var entry = new TagEntry(tag, type, node); scopes.Peek().AddTag(entry); return(entry); }
public TagEntry(string tag, TUnqualified type, TypeUserSpec node) { this.tag = tag; this.type = type; this.node = node; }