/// <summary>
 /// Exit a parse tree produced by <see cref="BibleReferenceParser.chapter"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public override void ExitChapter([NotNull] BibleReferenceParser.Grammar.Generated.BibleReferenceParser.ChapterContext context)
 {
 }
 /// <summary>
 /// Enter a parse tree produced by <see cref="BibleReferenceParser.chapter"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public override void EnterChapter([NotNull] BibleReferenceParser.Grammar.Generated.BibleReferenceParser.ChapterContext context)
 {
     ReferenceBuilder.SetChapter(int.Parse(context.GetChild(0).GetText()));
 }