summaryrefslogtreecommitdiff
path: root/src/main/java/io/devnulllabs/openjava/ptree/MemberDeclaration.java
blob: f55fb9d579f0806353baf47a23a9d724eadb714e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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);

}