コード例 #1
0
        public override void EnterFromText([NotNull] SearchParser.FromTextContext context)
        {
            var screenName = context.GetText().Substring(5).Enquote();

            this.whereClause = string.Concat(whereClause, " ", "twt.user.screen_name = ", screenName);
        }
コード例 #2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="SearchParser.fromText"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitFromText([NotNull] SearchParser.FromTextContext context)
 {
 }