public override void EnterSetDecl(ExpressParser.SetDeclContext context) { var ci = ((CollectionInfo)currentTypeInfo); ci.Rank++; ci.CollectionType = CollectionType.Set; ci.Size = int.Parse(context.setParameters().Integer()[0].GetText()); }
/// <summary> /// Exit a parse tree produced by the <c>SetDecl</c> /// labeled alternative in <see cref="ExpressParser.collectionParameters"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitSetDecl([NotNull] ExpressParser.SetDeclContext context) { }