MCPcopy Create free account
hub / github.com/chibash/stone / make

Method make

src/stone/Parser.java:237–245  ·  view source on GitHub ↗
(Object arg)

Source from the content-addressed store, hash-verified

235 protected static abstract class Factory {
236 protected abstract ASTree make0(Object arg) throws Exception;
237 protected ASTree make(Object arg) {
238 try {
239 return make0(arg);
240 } catch (IllegalArgumentException e1) {
241 throw e1;
242 } catch (Exception e2) {
243 throw new RuntimeException(e2); // this compiler is broken.
244 }
245 }
246 protected static Factory getForASTList(Class<? extends ASTree> clazz) {
247 Factory f = get(clazz, List.class);
248 if (f == null)

Callers 4

parseMethod · 0.80
doShiftMethod · 0.80
parseMethod · 0.80
loadMethod · 0.80

Calls 1

make0Method · 0.95

Tested by

no test coverage detected