KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > dfa > NodeType


1 package net.sourceforge.pmd.dfa;
2
3 /**
4  * @author raik
5  */

6 public interface NodeType {
7
8     int IF_EXPR = 1;
9     int IF_LAST_STATEMENT = 2;
10     int IF_LAST_STATEMENT_WITHOUT_ELSE = 3;
11     int ELSE_LAST_STATEMENT = 4;
12
13     int WHILE_EXPR = 10;
14     int WHILE_LAST_STATEMENT = 11;
15
16     int SWITCH_START = 20;
17     int CASE_LAST_STATEMENT = 21;
18     int SWITCH_LAST_DEFAULT_STATEMENT = 22;
19     int SWITCH_END = 23;
20
21     int FOR_INIT = 30;
22     int FOR_EXPR = 31;
23     int FOR_UPDATE = 32;
24     int FOR_BEFORE_FIRST_STATEMENT = 33;
25     int FOR_END = 34;
26
27     int DO_BEFORE_FIRST_STATEMENT = 40;
28     int DO_EXPR = 41;
29
30     int RETURN_STATEMENT = 50;
31     int BREAK_STATEMENT = 51;
32     int CONTINUE_STATEMENT = 52;
33     
34     int LABEL_STATEMENT = 60;
35     int LABEL_LAST_STATEMENT = 61;
36     
37     // TODO - throw statements?
38

39 }
40
Popular Tags