/// <summary> /// Exit a parse tree produced by the <c>valueString</c> /// labeled alternative in <see cref="YarnSpinnerV1Parser.value"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitValueString([NotNull] YarnSpinnerV1Parser.ValueStringContext context) { }
public override Yarn.IType VisitValueString(YarnSpinnerV1Parser.ValueStringContext context) { return(BuiltinTypes.String); }
public override Yarn.Type VisitValueString(YarnSpinnerV1Parser.ValueStringContext context) { return(Yarn.Type.String); }
/// <summary> /// Visit a parse tree produced by the <c>valueString</c> /// labeled alternative in <see cref="YarnSpinnerV1Parser.value"/>. /// <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 VisitValueString([NotNull] YarnSpinnerV1Parser.ValueStringContext context) { return(VisitChildren(context)); }