summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer/matching/PatternMatcher.java
Commit message (Collapse)AuthorAgeFilesLines
* Typed patterns x:T and variable patterns x are ...buraq2003-10-301-4/+6
| | | | | | | | Typed patterns x:T and variable patterns x are desugarized to x@ _ : T resp x @ _. thus some cases here become unnecessary
* fixed bugs and cleaned up code in AlgMatcher th...buraq2003-10-301-8/+6
| | | | | | fixed bugs and cleaned up code in AlgMatcher that was duplicated of Pattern Matcher
* - In Definitions, replaced primitive _TYPE fiel...paltherr2003-10-291-3/+3
| | | | | - In Definitions, replaced primitive _TYPE fields by methods
* - Replaced most of the Definition <...>_TYPE fi...paltherr2003-10-291-1/+1
| | | | | - Replaced most of the Definition <...>_TYPE fields by methods
* merging large parts of Algebraic Matcher with P...buraq2003-10-281-12/+41
| | | | | merging large parts of Algebraic Matcher with Pattern Matcher
* - Moved symbols from CodeFactory into Definitionspaltherr2003-10-141-2/+2
| | | | | - Reorganized Definitions
* - Removed all instances of Inferpaltherr2003-10-131-7/+6
|
* - Addded Definitions.PATTERN_WILDCARDpaltherr2003-10-131-4/+4
| | | | | | | | | - Removed Names.WILDCARD - Added Names.PATTERN_WILDCARD - Added Names.IMPORT_WILDCARD - Replaced most uses of Names.PATTERN_WILDCARD by Definitions.PATTERN_WILDCARD - Removed TreeInfo.isWildcardPattern
* - Replaced usage of make by genpaltherr2003-10-131-107/+39
|
* - Removed CodeFactory.Blockpaltherr2003-10-101-8/+8
|
* - Removed fields CaseEnv.makepaltherr2003-10-101-5/+4
| | | | | - Removed argument pos from CaseEnv.newBoundVar
* - Replaced some use of "make" by "gen"paltherr2003-10-101-10/+10
|
* *** empty log message ***Martin Odersky2003-09-251-1/+11
|
* Support for pattern matching on Jaco case class...Matthias Zenger2003-09-241-16/+21
| | | | | Support for pattern matching on Jaco case classes in Scala.
* Fixed bug 149Matthias Zenger2003-09-241-14/+4
|
* Bugfixes.Matthias Zenger2003-09-241-6/+24
|
* Fixed a bug.Matthias Zenger2003-09-111-2/+4
| | | | | | not having a symbol. But obviously, _ tree nodes seem to have null as their symbol. Is this a contract or a bug in the Analyzer?
* - Removed TreeGen.Select__paltherr2003-09-111-1/+1
|
* Implemented variable binding for the "old" patt...Matthias Zenger2003-09-111-1/+10
| | | | | Implemented variable binding for the "old" pattern matcher.
* - Reviewed and cleaned TreeGen.paltherr2003-09-111-1/+1
| | | | | | | - Fixed some errors. - Removed "dangerous" methods in TreeGen. - Renamed some methods in TreeGen.
* Fixed a small bug and started adding a new opti...Matthias Zenger2003-09-021-19/+71
| | | | | Fixed a small bug and started adding a new optimization.
* made AlgebraicMatcher a subclass of PatternMatc...buraq2003-09-011-7/+20
| | | | | made AlgebraicMatcher a subclass of PatternMatcher, sharing much code
* Cleaned up the pattern matcher.Matthias Zenger2003-08-291-223/+141
|
* - replaced empty trees in right-hand sides of v...schinz2003-08-291-1/+3
| | | | | | | | - replaced empty trees in right-hand sides of variable definitions by default values (i.e. produce exactly the same trees as are produced when the programmer writes "var x = _")
* Implemented optimized pattern matcher that uses...Matthias Zenger2003-08-281-44/+131
| | | | | | Implemented optimized pattern matcher that uses a tagging technique for distinguishing different case classes.
* Switched on switch expressions. ;-)Matthias Zenger2003-08-271-1/+1
|
* Removed some debugging output.Matthias Zenger2003-08-251-1/+1
|
* Included optimization for top-level switches on...Matthias Zenger2003-08-251-0/+165
| | | | | | Included optimization for top-level switches on expressions of type Int. It is switched off in the checked in version.
* - rewrote the phase creation processpaltherr2003-08-181-1/+1
| | | | | - replace PhaseRepository by CompilerPhases
* - Replaced NOPOS by FIRSTPOS or other non zero ...paltherr2003-08-081-1/+1
| | | | | - Replaced NOPOS by FIRSTPOS or other non zero position
* *** empty log message ***Martin Odersky2003-07-311-2/+2
|
* - Fixed the code that generates value selection...paltherr2003-07-141-1/+1
| | | | | - Fixed the code that generates value selections (missing asSeenFrom)
* completed migration. code is now operationalburaq2003-07-131-2/+2
|
* removed at, fixed code for Literalsburaq2003-07-091-2/+2
|
* matchingburaq2003-07-081-83/+17
|
* handle matching with if pat contains reg op Alg...buraq2003-07-071-8/+0
| | | | | handle matching with if pat contains reg op AlgebraicMatcher
* *** empty log message ***buraq2003-07-051-3/+7
|
* hooking up pattern matcher with sequence matcherburaq2003-07-041-59/+76
|
* changed code for sequence matching, not yet ope...buraq2003-07-031-10/+81
| | | | | changed code for sequence matching, not yet operational
* *** empty log message ***buraq2003-06-191-349/+51
|
* Added widen.Matthias Zenger2003-06-191-1/+1
|
* using TransMatch.Matcher for input, output.buraq2003-06-171-3/+51
|
* moved to subpackage matchingburaq2003-06-171-1/+1
|
* - Made SourceFile and Position scala-independan...paltherr2003-06-161-0/+2
| | | | | | | | - Made SourceFile and Position scala-independant (moved them to ch.epfl.lamp.util) - Added position arguments to methods of class Reporter - Changed printing of positions to display the whole path not only the file name.
* Removed some debug output. ;-)Matthias Zenger2003-06-121-3/+3
|
* Fixed two bugs:Matthias Zenger2003-06-121-56/+70
| | | | | | - Bug 35 in bugtracking - Sequences in class constructors
* *** empty log message ***Martin Odersky2003-06-111-54/+56
|
* *** empty log message ***buraq2003-05-131-2/+2
|
* *** empty log message ***Martin Odersky2003-05-011-1/+1
|
* *** empty log message ***Martin Odersky2003-04-021-9/+4
|