/// <summary> /// Exit a parse tree produced by <see cref="TakPGNParser.tag_pair"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitTag_pair([NotNull] TakPGNParser.Tag_pairContext context) { }
public override void ExitTag_pair(Generated.TakPGNParser.Tag_pairContext context) { _currentGame.Tags.Add(context.tag_name().SYMBOL().GetText(), context.tag_value().STRING().GetText().Trim('"')); base.ExitTag_pair(context); }