01: package javaparser;
02:
03: import javaparser.javacc_gen.*;
04: import javax.swing.tree.*;
05: import java.util.*;
06:
07: /** class, methods, constructor, for loop
08: parsed from raw syntax during completion.
09:
10: ex:
11: for(Iterator it = a.getIt(); it.hasNext(); )
12: {
13: it.next();
14: }
15: */
16: public class BlokWithVariables {
17: //private final List<String> variables = new ArrayList<String>();
18: final public Token start, end;
19:
20: public BlokWithVariables(Token start, Token end) {
21: this .start = start;
22: this .end = end;
23: }
24:
25: /** null if failed
26: ex:
27: for(Iterator it = a.getIt(); it.hasNext(); )
28: {
29: it.next();
30: }
31: */
32: public static BlokWithVariables parseForNode(
33: ParserTreeNode forStatementNode) {
34: return null;
35: }
36:
37: }
|