diff options
author | buraq <buraq@epfl.ch> | 2003-10-22 09:29:37 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2003-10-22 09:29:37 +0000 |
commit | 0590ef07a2afadbf35137847dc9e28ee7d4ab90c (patch) | |
tree | 75699285b7902ce621a3f567c1c5415f83ef411a /sources/scalac/transformer/matching/CodeFactory.java | |
parent | 3b888fff88f0402dcdd355c37cfc6309743a7236 (diff) | |
download | scala-0590ef07a2afadbf35137847dc9e28ee7d4ab90c.tar.gz scala-0590ef07a2afadbf35137847dc9e28ee7d4ab90c.tar.bz2 scala-0590ef07a2afadbf35137847dc9e28ee7d4ab90c.zip |
cleanup
Diffstat (limited to 'sources/scalac/transformer/matching/CodeFactory.java')
-rw-r--r-- | sources/scalac/transformer/matching/CodeFactory.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sources/scalac/transformer/matching/CodeFactory.java b/sources/scalac/transformer/matching/CodeFactory.java index 20817acabd..ee501e692f 100644 --- a/sources/scalac/transformer/matching/CodeFactory.java +++ b/sources/scalac/transformer/matching/CodeFactory.java @@ -46,11 +46,6 @@ class CodeFactory extends PatternTool { return result ; } - /** returns `List[ elemType ]' */ - Type SeqListType( Type elemType ) { - return defs.listType(elemType); - } - /** returns `List[ Tuple2[ scala.Int, <elemType> ] ]' */ Type SeqTraceType( Type elemType ) { return defs.listType(pairType(defs.INT_TYPE, elemType)); @@ -73,26 +68,6 @@ class CodeFactory extends PatternTool { return newIterator( seqObj, getElemType_Sequence( seqObj.type() )); } - /** code `Nil' - Tree _seqTraceNil( Type elemType ) { - return newSeqNil( null ); - } - */ - - // `SeqCons[ elemType ]' - /* - - Type _seqConsType( Type elemType ) { - return Type.TypeRef( defs.SCALA_TYPE, - seqConsSym(), - new Type[] { elemType }); - } - - Tree newSeqNil( Type tpe ) { - return gen.Select(gen.Ident(pos, defs.SCALA), seqNilSym()); - } - */ - // EXPERIMENTAL Tree newRef( Tree init ) { //System.out.println( "hello:"+refSym().type() ); |