/// <summary> /// Exit a parse tree produced by the <c>valueFalse</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 ExitValueFalse([NotNull] YarnSpinnerV1Parser.ValueFalseContext context) { }
public override Yarn.IType VisitValueFalse(YarnSpinnerV1Parser.ValueFalseContext context) { return(BuiltinTypes.Boolean); }
public override Yarn.Type VisitValueFalse(YarnSpinnerV1Parser.ValueFalseContext context) { return(Yarn.Type.Bool); }
/// <summary> /// Visit a parse tree produced by the <c>valueFalse</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 VisitValueFalse([NotNull] YarnSpinnerV1Parser.ValueFalseContext context) { return(VisitChildren(context)); }