X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FForest.java;h=afe0a8582d3b3538b31c521ed13bef240d78e35f;hp=e7c0be4394c23d4951fc03f03be26cb2b44a80b3;hb=439a7ad1815292b659ebe50fba55aefd73f4a68f;hpb=5ea3b9182192a0fbb7a0bd86b919384ddaeff29a diff --git a/src/edu/berkeley/sbp/Forest.java b/src/edu/berkeley/sbp/Forest.java index e7c0be4..afe0a85 100644 --- a/src/edu/berkeley/sbp/Forest.java +++ b/src/edu/berkeley/sbp/Forest.java @@ -90,6 +90,11 @@ public abstract class Forest /*extends PrintableTree>*/ public boolean ambiguous() { return false; } public /*protected*/ static class MyBody extends Forest implements Body /* extends PrintableTree> implements */ { + private final Input.Region location; + private final T tag; + private final Forest[] tokens; + private final boolean unwrap; + public boolean isTransparent() { return false; } public boolean isHidden() { return false; } public GraphViz.Node toGraphViz(GraphViz gv) { @@ -118,11 +123,6 @@ public abstract class Forest /*extends PrintableTree>*/ ivbc.invoke(this, b, c); } - private final Input.Region location; - private final T tag; - private final Forest[] tokens; - private final boolean unwrap; - private MyBody(Input.Region loc, T tag, Forest[] tokens, boolean unwrap) { this.location = loc; this.tag = tag;