diff options
author | Martin Odersky <odersky@gmail.com> | 2003-07-22 09:27:52 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-07-22 09:27:52 +0000 |
commit | e570d189e04924a7f2b59f4f859f642c43939a21 (patch) | |
tree | a4d384ddb861de15a04e67b1624711c97478c204 /sources/scalac/symtab/EntryTags.java | |
parent | 74d350a2baff26d149e02110a9c3f079c2e03cac (diff) | |
download | scala-e570d189e04924a7f2b59f4f859f642c43939a21.tar.gz scala-e570d189e04924a7f2b59f4f859f642c43939a21.tar.bz2 scala-e570d189e04924a7f2b59f4f859f642c43939a21.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/symtab/EntryTags.java')
-rw-r--r-- | sources/scalac/symtab/EntryTags.java | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/sources/scalac/symtab/EntryTags.java b/sources/scalac/symtab/EntryTags.java index 1b695a213f..b8ae7c2d7a 100644 --- a/sources/scalac/symtab/EntryTags.java +++ b/sources/scalac/symtab/EntryTags.java @@ -10,6 +10,35 @@ package scalac.symtab; public interface EntryTags { +/*************************************************** + * Symbol table attribute format: + * Symtab = nentries_Nat {Entry} + * Entry = 1 TERMNAME len_Nat NameInfo + * | 2 CONSTRNAME len_Nat NameInfo + * | 3 TYPENAME len_Nat NameInfo + * | 4 NONEsym len_Nat + * | 5 TYPEsym len_Nat SymbolInfo lobound_Ref + * | 6 ALIASsym len_Nat SymbolInfo + * | 7 CLASSsym len_Nat SymbolInfo thistype_Ref constrsym_Ref + * | 8 VALsym len_Nat SymbolInfo [classsym_Ref] + * | 9 EXTsym len_Nat name_Ref [owner_Ref] + * | 10 EXTMODCLASSsym len_Nat name_Ref [owner_Ref] + * | 11 NOtpe len_Nat + * | 12 THIStpe len_Nat sym_Ref + * | 13 SINGLEtpe len_Nat type_Ref sym_Ref + * | 14 TYPEREFtpe len_Nat type_Ref sym_Ref {targ_Ref} + * | 15 COMPOUNDtpe len_Nat classsym_Ref {tpe_Ref} + * | 16 METHODtpe len_Nat tpe_Ref {tpe_Ref} + * | 17 POLYTtpe len_Nat tpe_Ref {sym_Ref} + * | 18 OVERLOADEDtpe len_Nat {sym_Ref} {tpe_Ref} + * | 21 FLAGGEDtype len_Nat flags_Nat tpe_Ref + * SymbolInfo = name_Ref owner_Ref flags_Nat info_Ref + * NameInfo = <character sequence of length len_Nat in Utf8 format> + * Ref = Nat + * + * len is remaining length after `len'. + */ + int TERMname = 1, CONSTRname = 2, TYPEname = 3, @@ -17,9 +46,9 @@ public interface EntryTags { TYPEsym = 5, ALIASsym = 6, CLASSsym = 7, - MODULEsym = 8, - VALsym = 9, - EXTsym = 10, + VALsym = 8, + EXTsym = 9, + EXTMODCLASSsym = 10, NOtpe = 11, THIStpe = 12, SINGLEtpe = 13, |