|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectDeclReader.DeclPpt
public static class DeclReader.DeclPpt
Information about the program point that is contained in the decl file. This consists of the ppt name and a list of the declared variables
| Field Summary | |
|---|---|
String |
name
|
HashMap<String,DeclReader.DeclVarInfo> |
vars
|
| Constructor Summary | |
|---|---|
DeclReader.DeclPpt(String name)
|
|
| Method Summary | |
|---|---|
void |
add_var_data(List<Object> var_data_list)
Adds a record of data for this ppt. |
DeclReader.DeclVarInfo |
find_var(String var_name)
Returns the DeclVarInfo named var_name or null if it doesn't exist |
List<DeclReader.DeclVarInfo> |
get_all_vars()
Returns the list of variables in their standard order |
String |
get_name()
Returns the ppt name |
String |
get_short_name()
Returns the name without the :::EXIT, :::ENTER, etc |
List<List<Object>> |
get_var_data()
|
DeclReader.DeclVarInfo |
read_var(EntryReader decl_file)
Read a single variable declaration from decl_file. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String name
public HashMap<String,DeclReader.DeclVarInfo> vars
| Constructor Detail |
|---|
public DeclReader.DeclPpt(String name)
| Method Detail |
|---|
public DeclReader.DeclVarInfo read_var(EntryReader decl_file)
throws IOException
IOExceptionpublic void add_var_data(List<Object> var_data_list)
public List<List<Object>> get_var_data()
public DeclReader.DeclVarInfo find_var(String var_name)
public String get_name()
public String get_short_name()
public String toString()
toString in class Objectpublic List<DeclReader.DeclVarInfo> get_all_vars()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||