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

io.reactiverse.es4x.codetrans.EcmaScript Maven / Gradle / Ivy

package io.reactiverse.es4x.codetrans;

import io.vertx.codetrans.CodeBuilder;
import io.vertx.codetrans.Lang;
import io.vertx.codetrans.Script;

public class EcmaScript implements Lang {
  @Override
  public String id() {
    return "es4x";
  }

  @Override
  public Script loadScript(ClassLoader classLoader, String s, String s1) throws Exception {
    throw new UnsupportedOperationException();
  }

  @Override
  public String getExtension() {
    return "js";
  }

  @Override
  public CodeBuilder codeBuilder() {
    return new EcmaScriptCodeBuilder();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy