diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-05-16 15:36:02 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-05-16 15:36:02 +0000 |
commit | 6014888a9d0172e5a3e29292f844f8970e6fb825 (patch) | |
tree | 898ddfbe328b5b8e7c726d443e1843a1253ca6d8 | |
parent | 6a33d831d2d25165bef5789c44e22548acb4646f (diff) | |
download | scala-6014888a9d0172e5a3e29292f844f8970e6fb825.tar.gz scala-6014888a9d0172e5a3e29292f844f8970e6fb825.tar.bz2 scala-6014888a9d0172e5a3e29292f844f8970e6fb825.zip |
documented the pickling of annotated types and
of reflect Tree's, Symbol's, and Type's
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/PickleFormat.scala | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/PickleFormat.scala b/src/compiler/scala/tools/nsc/symtab/classfile/PickleFormat.scala index 39e96cbfcf..b3a9d148b4 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/PickleFormat.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/PickleFormat.scala @@ -52,6 +52,46 @@ object PickleFormat { * | 35 LITERALclass len_Nat type_Ref * | 40 ATTRIBUTE len_Nat sym_Ref info_Ref {constant_Ref} {nameRef constantRef} * | 41 CHILDREN len_Nat sym_Ref {sym_Ref} + * | 42 ANNOTATEDtpe len_Nat tpe_Ref {attribtree_Ref} + * | 43 ATTRIBTREE refltree_Ref len_Nat attarg_Ref {constant_Ref attarg_Ref} + * | 44 REFLTREE len_Nat 1 IDENTtree sym_Ref + * | 44 REFLTREE len_Nat 2 SELECTtree qual_Ref sym_Ref + * | 44 REFLTREE len_Nat 3 LITERALtree constant_Ref + * | 44 REFLTREE len_Nat 4 APPLYtree fun_Ref {arg_Ref} + * | 44 REFLTREE len_Nat 5 TYPEAPPLYtree fun_Ref {arg_Ref} + * | 44 REFLTREE len_Nat 6 FUNCTIONtree body_Ref {param_Ref} + * | 44 REFLTREE len_Nat 7 THIStree sym_Ref + * | 44 REFLTREE len_Nat 8 BLOCKtree exp_Ref {stat_Ref} + * | 44 REFLTREE len_Nat 9 NEWtree clz_Ref + * | 44 REFLTREE len_Nat 10 IFtree cond_Ref true_Ref false_Ref + * | 44 REFLTREE len_Nat 11 ASSIGNtree lhs_Ref rhs_Ref + * | 44 REFLTREE len_Nat 12 TARGETtree sym_Ref body_Ref + * | 44 REFLTREE len_Nat 13 GOTOtree target_Ref + * | 44 REFLTREE len_Nat 14 VALDEFtree sym_Ref rhs_Ref + * | 44 REFLTREE len_Nat 15 CLASSDEFtree sym_Ref tpe_Ref impl_Ref + * | 44 REFLTREE len_Nat 16 DEFDEFtree sym_Ref ret_Ref rhs_Ref {pl_Nat {param_Ref}} + * | 44 REFLTREE len_Nat 17 SUPERtree psym_Ref + * | 44 REFLTREE len_Nat 18 TEMPLATEtree parents_Nat {parent_Ref} body_Ref + * | 45 REFLTYPE len_Nat 1 NOPREFIXrtpe + * | 45 REFLTYPE len_Nat 2 NOrtpe + * | 45 REFLTYPE len_Nat 3 NAMEDrtpe name_Ref + * | 45 REFLTYPE len_Nat 4 PREFIXEDrtpe pre_Ref sym_Ref + * | 45 REFLTYPE len_Nat 5 SINGLErtpe pre_Ref sym_Ref + * | 45 REFLTYPE len_Nat 6 THISrtpe class_Ref + * | 45 REFLTYPE len_Nat 7 APPLIEDrtpe tpe_Ref {arg_Ref} + * | 45 REFLTYPE len_Nat 8 TYPEBOUNDSrtpe lo_Ref hi_Ref + * | 45 REFLTYPE len_Nat 9 METHODrtpe restpe_Ref {paramtpe_Ref} + * | 45 REFLTYPE len_Nat 10 POLYrtpe restpe_Ref boundslen_Nat {lo_Ref hi_Ref} {typeParam_Ref} + * | 45 REFLTYPE len_Nat 11 IMPLICITMETHODrtpe restpe_Ref {paramtpe_Ref} + * | 46 REFLSYM len_Nat 1 CLASSrsym name_Ref + * | 46 REFLSYM len_Nat 2 METHODrsym fullname_Ref + * | 46 REFLSYM len_Nat 3 FIELDrsym tpe_Ref fullname_Ref tpe_Ref + * | 46 REFLSYM len_Nat 4 TYPEFIELDrsym fullname_Ref tpe_Ref + * | 46 REFLSYM len_Nat 5 LOCALVALUErsym owner_Ref name_Ref tpe_Ref + * | 46 REFLSYM len_Nat 6 LOCALMETHODrsym owner_Ref name_Ref tpe_Ref + * | 46 REFLSYM len_Nat 7 NOSYMBOLrsym + * | 46 REFLSYM len_Nat 8 ROOTSYMBOLrsym + * | 46 REFLSYM len_Nat 9 LABELSYMBOLrsym name_Ref * | 47 DEBRUIJNINDEXtpe len_Nat level_Nat index_Nat * | 68 PosTYPEsym len_Nat pos_Nat SymbolInfo * | 69 PosALIASsym len_Nat pos_Nat SymbolInfo @@ -62,6 +102,7 @@ object PickleFormat { * NameInfo = <character sequence of length len_Nat in Utf8 format> * NumInfo = <len_Nat-byte signed number in big endian format> * Ref = Nat + * Attarg = Refltree | Constant * * len is remaining length after `len'. */ |