dpt.symbtab
Class LabelDef
java.lang.Object
|
+--dpt.symbtab.Definition
|
+--dpt.symbtab.LabelDef
- class LabelDef
- extends Definition
A label that appears in the source file.
Fields inherited from class dpt.symbtab.Definition |
definition,
name,
parentScope,
references,
ST_CL,
ST_FU,
ST_FU_EXT,
ST_IF,
ST_IMPL,
ST_IMPORT,
ST_PAC,
ST_SUB,
ST_SUPER,
ST_VAR |
Constructor Summary |
(package private) |
LabelDef(java.lang.String name,
Occurrence occ,
ScopedDef parentScope)
Constructor to create a new label symbol |
Method Summary |
java.lang.String |
GetItem(int TypID)
|
java.util.Vector |
GetItems(int TypID,
java.lang.String sModifier)
|
java.lang.String |
GetLocation(int TypID,
java.lang.String sName)
|
void |
report(IndentingPrintWriter out)
Write information about the label to the report |
Methods inherited from class dpt.symbtab.Definition |
addReference,
ExtractClass,
ExtractClass,
ExtractName,
ExtractPackage,
ExtractPackage,
getDef,
getName,
getOccurrence,
getParentScope,
getQualifiedName,
GetReferences,
isSuperClassOf,
listReferences,
lookup,
lookup,
resolveTypes,
setParentScope,
toString |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
LabelDef
LabelDef(java.lang.String name,
Occurrence occ,
ScopedDef parentScope)
- Constructor to create a new label symbol
GetLocation
public java.lang.String GetLocation(int TypID,
java.lang.String sName)
- Overrides:
- GetLocation in class Definition
GetItem
public java.lang.String GetItem(int TypID)
- Overrides:
- GetItem in class Definition
GetItems
public java.util.Vector GetItems(int TypID,
java.lang.String sModifier)
- Overrides:
- GetItems in class Definition
report
public void report(IndentingPrintWriter out)
- Write information about the label to the report
- Overrides:
- report in class Definition