Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 // variable
 public override int VisitExpValue(YarnSpinnerParser.ExpValueContext context)
 {
     return(Visit(context.value()));
 }