Exemple #1
0
 public object visitExpressionStmt(Stmt.Expression stmt)
 {
     return(evaluate(stmt.expression));
 }
Exemple #2
0
 public object VisitExpressionStmt(Stmt.Expression stmt)
 {
     Resolve(stmt.expression);
     return(null);
 }
Exemple #3
0
 public Void VisitExpressionStmt(Stmt.Expression stmt)
 {
     Evaluate(stmt.Expr);
     return(null);
 }
Exemple #4
0
 public object VisitExpressionStmt(Stmt.Expression stmt)
 {
     Evaluate(stmt.expression);
     return(null);
 }
Exemple #5
0
 public Void VisitExpressionStmt(Stmt.Expression stmt)
 {
     Resolve(stmt.Expr);
     return(null);
 }
Exemple #6
0
 public string VisitExpressionStmt(Stmt.Expression stmt)
 {
     throw new NotImplementedException();
 }
Exemple #7
0
 public string VisitExpressionStmt(Stmt.Expression stmt) => Parenthesize("exprstmt", stmt.expression);
Exemple #8
0
        public object Visit(Stmt.Expression _expression)
        {
            Resolve(_expression.expression);

            return(null);
        }