Package org.rascalmpl.interpreter.asserts

Examples of org.rascalmpl.interpreter.asserts.NotYetImplemented


  private static IValue charclass2Symbol(Class cc) {
    if (cc.isSimpleCharclass()) {
      return factory.constructor(Factory.Symbol_CharClass, ranges2Ranges(cc.getRanges()));
    }
    throw new NotYetImplemented(cc);
  }
View Full Code Here


  private static IValue char2int(Char character) {
    String s = ((Char.Lexical) character).getString();
    if (s.startsWith("\\")) {
      if (s.length() > 1 && java.lang.Character.isDigit(s.charAt(1))) { // octal escape
        // TODO
        throw new NotYetImplemented("octal escape sequence in character class types");
      }
      if (s.length() > 1 && s.charAt(1) == 'u') { // octal escape
        // TODO
        throw new NotYetImplemented("unicode escape sequence in character class types");
      }
      char cha = s.charAt(1);
      switch (cha) {
      case 't': return factory.integer('\t');
      case 'n': return factory.integer('\n');
View Full Code Here

      }

      @Override
      public IValue visitConstructor(IConstructor o)
          throws RuntimeException {
        throw new NotYetImplemented("Constructors are not yet implemented");
      }

      @Override
      public IValue visitString(IString o) throws RuntimeException {
        return o;
View Full Code Here

    });
  }

  @Override
  public IValue visitConstructor(Type type) throws IOException {
    throw new NotYetImplemented("constructor types");
  }
View Full Code Here

    }

    @Override
    public org.eclipse.imp.pdb.facts.type.Type __evaluate(BasicTypeEvaluator __eval) {

      throw new NotYetImplemented(this);

    }
View Full Code Here

      Result<IValue> r = declaration.interpret(this);
      if (r != null) {
        return r;
      }

      throw new NotYetImplemented(declaration);
    }
    finally {
      setMonitor(old);
    }
  }
View Full Code Here

      super(__param1, __param2, __param3);
    }

    @Override
    public Result<IValue> interpret(IEvaluator<Result<IValue>> __eval) {
      throw new NotYetImplemented(this); // TODO
    }
View Full Code Here

    }
    else if (cons == Factory.Symbol_Alias){
      return aliasToType(symbol, store);
    }
    else if (cons == Factory.Symbol_Bag) {
      throw new NotYetImplemented("bags are not implemented yet");
    }
    else if (cons == Factory.Symbol_Cons) {
      return consToType(symbol, store);
    }
    else if (cons == Factory.Symbol_Func) {
View Full Code Here

    throw new ImplementationError("we should have implemented concrete hashCode/equals methods");
  }

  @Deprecated
  public IConstructor getTree() {
    throw new NotYetImplemented(this);
  }
View Full Code Here

  public String toString() {
    return "AST debug info: " + getClass().getName() + " at " + src;
  }

  public Result<IValue> interpret(IEvaluator<Result<IValue>> eval) {
    throw new NotYetImplemented(this);
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.asserts.NotYetImplemented

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.