コード例 #1
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="SearchPhraseParser.keyword"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitKeyword([NotNull] SearchPhraseParser.KeywordContext context)
 {
 }
コード例 #2
0
 public override void ExitKeyword(Antlr.SearchPhraseParser.KeywordContext context)
 {
     base.ExitKeyword(context);
     Keywords.Add(Unescape(context.GetText()));
 }