Package org.rascalmpl.interpreter.staticErrors

Examples of org.rascalmpl.interpreter.staticErrors.MissingModifier


    public Result<IValue> interpret(IEvaluator<Result<IValue>> __eval) {

      boolean varArgs = this.getSignature().getParameters().isVarArgs();

      if (!hasJavaModifier(this)) {
        throw new MissingModifier("java", this);
      }

      AbstractFunction lambda = new JavaMethod(__eval, this, varArgs,
          __eval.getCurrentEnvt(), __eval.__getJavaBridge());
      String name = org.rascalmpl.interpreter.utils.Names.name(this
View Full Code Here


      if (hasJavaModifier(this)) {
        throw new NonAbstractJavaFunction(this);
      }

      if (!this.getBody().isDefault()) {
        throw new MissingModifier("java", this);
      }

      lambda = new RascalFunction(__eval, this, varArgs, __eval
          .getCurrentEnvt(), __eval.__getAccumulators());
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.staticErrors.MissingModifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.