Mercurial > hg > truffle
view test/runtime/6626217/from_loader2.java @ 15630:2d63ce48d222
Truffle/Source Attribution: Replace direct creation of SourceSection objects with factory methods on Source; two of these greatly simplify source attribution by automatically computing either the row/column start location from a character offset or vice versa, depending on what?s made available from the parser. Minor API change on Visualizer.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Tue, 13 May 2014 18:28:33 -0700 |
parents | 495caa35b1b5 |
children |
line wrap: on
line source
// A simple class to extend an abstract class and get loaded with different // loaders. This class is loaded via LOADER2. public class from_loader2 implements IFace { public many_loader[] gen() { many_loader[] x = new many_loader[1]; x[0] = new many_loader(); return x; } }