diff options
author | buraq <buraq@epfl.ch> | 2005-06-03 15:32:10 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2005-06-03 15:32:10 +0000 |
commit | 4751d1277492daecabf0a676b66818cfdec93ff3 (patch) | |
tree | 8be0cfbb4023dd5a088379bac7ad01a2cfb1af61 | |
parent | 99ee96571cbd8f0c8e49e2abd154d9f8dd03945f (diff) | |
download | scala-4751d1277492daecabf0a676b66818cfdec93ff3.tar.gz scala-4751d1277492daecabf0a676b66818cfdec93ff3.tar.bz2 scala-4751d1277492daecabf0a676b66818cfdec93ff3.zip |
obso, put in transmatcher, where everybody sees it
-rw-r--r-- | sources/scala/tools/nsc/matching/PartialMatcher.scala | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/sources/scala/tools/nsc/matching/PartialMatcher.scala b/sources/scala/tools/nsc/matching/PartialMatcher.scala deleted file mode 100644 index 003230918c..0000000000 --- a/sources/scala/tools/nsc/matching/PartialMatcher.scala +++ /dev/null @@ -1,47 +0,0 @@ -/* NSC -- new scala compiler - * Copyright 2005 LAMP/EPFL - * @author buraq - */ -// $Id$ -package scala.tools.nsc.transmatch; - -/** container. classes AlgebraicMatcher and SequenceMatcher get input and - * store their results in here. resembles the 'Memento' design pattern, - * could also be named 'Liaison' - */ -class PartialMatcher(owner1: Symbol, root1: Tree, resultType1: Type) { - - /** owner of the code we create (input) - */ - var owner: Symbol = owner1; - - /** the selector value (input) - */ - var selector:Tree = root1; - - /** type of the result of the whole match (input) - */ - var resultType:Type = resultType1 ; - - /** tree representing the matcher (output) - */ - var tree: Tree = _ ; - - var pos: int = root1.pos; - - //assert( owner != null ) : "owner is null"; - //assert owner != Symbol.NONE ; - //this.owner = owner; - - //assert root != null; - //assert root.type != null; - //this.selector = root; - - //assert this.resultType != Type.NoType; - //this.resultType = resultType; - - //this.pos = root.pos; // for convenience only - -} - - |