dpt.symbtab
Class BlockDef

java.lang.Object
  |
  +--dpt.symbtab.Definition
        |
        +--dpt.symbtab.ScopedDef
              |
              +--dpt.symbtab.BlockDef

class BlockDef
extends ScopedDef

Definition of a curly-brace-delimited block in a file.


Fields inherited from class dpt.symbtab.ScopedDef
elements, iAmDefaultOrBaseScope, unresolvedStuff
 
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) BlockDef(java.lang.String name, Occurrence occ, ScopedDef parentScope)
          Constructor to set up a block
 
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 this block to the report
 
Methods inherited from class dpt.symbtab.ScopedDef
add, addUnresolved, GetListItems, GetStringItems, GetStringLocation, hasElements, isDefaultOrBaseScope, lookup, reportElements, resolveTypes, setDefaultOrBaseScope
 
Methods inherited from class dpt.symbtab.Definition
addReference, ExtractClass, ExtractClass, ExtractName, ExtractPackage, ExtractPackage, getDef, getName, getOccurrence, getParentScope, getQualifiedName, GetReferences, isSuperClassOf, listReferences, lookup, setParentScope, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

BlockDef

BlockDef(java.lang.String name,
         Occurrence occ,
         ScopedDef parentScope)
Constructor to set up a block
Method Detail

report

public void report(IndentingPrintWriter out)
Write information about this block to the report
Overrides:
report in class Definition

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