Examples of Prelude


Examples of org.rascalmpl.library.Prelude

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
Copyright © 2018 www.massapi.com. 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.