Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 public void AddTag(TagEntry signature)
 {
     tags.AddLast(signature);
 }