// the calls for the various operations and expressions // first the special cases (), unary -, !, and if it is just a value by itself #region specialCaseCalls // (expression) public override int VisitExpParens(YarnSpinnerParser.ExpParensContext context) { return(Visit(context.expression())); }
public override Yarn.Type VisitExpParens(YarnSpinnerParser.ExpParensContext context) { // Parens expressions have the type of their inner expression return(Visit(context.expression())); }