Пример #1
0
 /// <summary>
 /// Exit a parse tree produced by the <c>STRING</c>
 /// labeled alternative in <see cref="ArgsParser.value"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitSTRING([NotNull] ArgsParser.STRINGContext context)
 {
 }
Пример #2
0
        public void exitSTRING(ArgsParser.STRINGContext ctx)
        {
            String s = ctx.GetText();

            values.Put(ctx, s.Substring(1, s.Length - 2));
        }