/// <summary>
 /// string :
 ///     CHAR_STRING
 ///     ;
 /// </summary>
 /// <param name="context"></param>
 /// <returns></returns>
 public override object VisitString([NotNull] WorkflowParser.StringContext context)
 {
     return(base.VisitString(context));
 }
 /// <summary>
 /// Visit a parse tree produced by <see cref="WorkflowParser.string"/>.
 /// <para>
 /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/>
 /// on <paramref name="context"/>.
 /// </para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 /// <return>The visitor result.</return>
 public virtual Result VisitString([NotNull] WorkflowParser.StringContext context)
 {
     return(VisitChildren(context));
 }
Esempio n. 3
0
 /// <summary>
 /// string :
 ///     CHAR_STRING
 ///     ;
 /// </summary>
 /// <param name="context"></param>
 /// <returns></returns>
 public override object VisitString([NotNull] WorkflowParser.StringContext context)
 {
     return(context.GetText().Trim().Trim('\''));
 }