summaryrefslogtreecommitdiff
path: root/src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2018-11-19 22:59:50 -0700
committerKenny Ballou <kballou@devnulllabs.io>2018-11-19 22:59:50 -0700
commitea3e1b949dcbdc09518f17eee0bcf21d41d76896 (patch)
tree7ec7a7fb4df67815a9b7bb0e4d95d67c4050e2a2 /src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java
downloadopenjava-ea3e1b949dcbdc09518f17eee0bcf21d41d76896.tar.gz
openjava-ea3e1b949dcbdc09518f17eee0bcf21d41d76896.tar.xz
OJ (aka OpenJava) modernization/mirroring
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java')
-rw-r--r--src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java b/src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java
new file mode 100644
index 0000000..f55fb9d
--- /dev/null
+++ b/src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java
@@ -0,0 +1,48 @@
+/*
+ * MemberDeclaration.java 1.0
+ *
+ * This interface is made to type ptree-node into the field
+ * declaration in the body of class.
+ *
+ * Jun 20, 1997
+ * Aug 20, 1997
+ *
+ * @see io.devnulllabs.openjava.ptree.ParseTree
+ * @version 1.0 last updated: Aug 20, 1997
+ * @author Michiaki Tatsubori
+ */
+package io.devnulllabs.openjava.ptree;
+
+/**
+ * The MemberDeclaration interface types ptree-node into the member
+ * declaration in the body of class.
+ *
+ * @see io.devnulllabs.openjava.ptree.ParseTree
+ * @see io.devnulllabs.openjava.ptree.FieldDeclaration
+ * @see io.devnulllabs.openjava.ptree.MethodDeclaration
+ * @see io.devnulllabs.openjava.ptree.ConstructorDeclaration
+ * @see io.devnulllabs.openjava.ptree.MemberInitializer
+ * @see io.devnulllabs.openjava.ptree.ClassDeclaration
+ */
+public interface MemberDeclaration extends ParseTree {
+ /** The FIELD is a kind of MemberDeclaration */
+ public static final int FIELD = 48;
+
+ /** The METHOD is a kind of MemberDeclaration */
+ public static final int METHOD = 49;
+
+ /** The CONSTRUCTOR is a kind of MemberDeclaration */
+ public static final int CONSTRUCTOR = 50;
+
+ /** The STATICINIT is a kind of MemberDeclaration */
+ public static final int STATICINIT = 32;
+
+ /** The TYPE is a kind of MemberDeclaration */
+ public static final int TYPE = 40;
+
+ /** This is same as STATICINIT */
+ public static final int STATICINITIALIZER = 32;
+
+ public boolean equals(ParseTree p);
+
+}