public override void EnterListDecl(ExpressParser.ListDeclContext context) { var ci = ((CollectionInfo)currentTypeInfo); ci.Rank++; ci.CollectionType = CollectionType.List; ci.Size = int.Parse(context.setParameters().Integer()[0].GetText()); }
/// <summary> /// Exit a parse tree produced by the <c>ListDecl</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 ExitListDecl([NotNull] ExpressParser.ListDeclContext context) { }