示例#1
0
 // 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()));
 }
示例#2
0
 public override Yarn.Type VisitExpParens(YarnSpinnerParser.ExpParensContext context)
 {
     // Parens expressions have the type of their inner expression
     return(Visit(context.expression()));
 }