All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.tree.EmptyStatement Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.snapscript.tree;

import org.snapscript.core.Result;
import org.snapscript.core.Scope;
import org.snapscript.core.Statement;
import org.snapscript.parse.StringToken;

public class EmptyStatement extends Statement {
   
   private final StringToken token;
   
   public EmptyStatement() {
      this(null);
   }
   
   public EmptyStatement(StringToken token) {
      this.token = token;
   }

   @Override
   public Result execute(Scope scope) throws Exception {
      return Result.getNormal();
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy