public override Yarn.IType VisitExpValue(YarnSpinnerParser.ExpValueContext context) { // passing the hint from the expression down into the values within context.value().Hint = context.Hint; // Value expressions have the type of their inner value Yarn.IType type = Visit(context.value()); context.Type = type; return(type); }
public override Yarn.IType VisitExpValue(YarnSpinnerParser.ExpValueContext context) { // Value expressions have the type of their inner value Yarn.IType type = Visit(context.value()); context.Type = type; return(type); }
// variable public override int VisitExpValue(YarnSpinnerParser.ExpValueContext context) { return(Visit(context.value())); }