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

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


package org.snapscript.tree;

import org.snapscript.core.Result;
import org.snapscript.core.ResultType;
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 ResultType.getNormal();
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy