/** * Game Info Tag like [Event "Event Name"], see http://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm#c2.3 */ public override void EnterTag_pair(PGNParser.Tag_pairContext context) { Tags.Add(context.tag_name().GetText(), context.tag_value().GetText()); }
/// <summary> /// Exit a parse tree produced by <see cref="PGNParser.tag_pair"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitTag_pair([NotNull] PGNParser.Tag_pairContext context) { }