Mercurial > hg > truffle
view test/runtime/6929067/T.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 | 3b3d12e645e7 |
children |
line wrap: on
line source
public class T { public static boolean foo(boolean bar) { return bar; } public static void printIt() { System.out.println("Hello"); } }