Package org.rascalmpl.library

Examples of org.rascalmpl.library.Prelude$RascalValuesValueFactory


public class FileResult extends ResourceResult {

  public FileResult(Type type, IValue value, IEvaluatorContext ctx, ISourceLocation fullURI, String displayURI) {
    super(type, value, ctx, fullURI, displayURI);
    Prelude prelude = new Prelude(ctx.getValueFactory());
    URI uri = FileURIResolver.constructFileURI(fullURI.getURI().getPath());
    this.value = prelude.readFile(ValueFactoryFactory.getValueFactory().sourceLocation(uri), ctx);
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.library.Prelude$RascalValuesValueFactory

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.