summaryrefslogtreecommitdiff
path: root/sources/scalac/ast/TreeGen.java
Commit message (Collapse)AuthorAgeFilesLines
* Removed old Scalac code in sources and various ...Gilles Dubochet2005-12-181-1361/+0
| | | | | Removed old Scalac code in sources and various other obsolete elements.
* - added type info in debug output.michelou2005-09-161-9/+14
|
* Tag anonymous function classes as serializablemihaylov2005-05-301-1/+1
|
* In mkDefaultValue first check for a value type ...mihaylov2005-05-301-1/+1
| | | | | | | In mkDefaultValue first check for a value type and only then for reference type; fixes the problem with the default value when value types implement interfaces and are therefore considered reference types
* new XML API that deals with namespaces properlyburaq2005-04-111-0/+1
|
* - changed pattern matcher to use the erased ver...schinz2005-03-271-8/+14
| | | | | | | | | | | | | | | | | | | - changed pattern matcher to use the erased versions of asInstanceOf when possible, to gain some speed when run time types are enabled; i.e. instead of generating code like this: if (x.isInstanceOf[List[Int]]) { val temp$ = x.asInstanceOf[List[Int]]; ... } the pattern matcher now generates code like that: if (x.isInstanceOf[List[Int]]) { val temp$ = x.asInstanceOf$erased[List[Int]]; ... }
* - introduced isInstanceOf$erased and asInstance...schinz2005-03-261-4/+8
| | | | | | | | | | | | | | | | | - introduced isInstanceOf$erased and asInstanceOf$erased methods, which work on the erased types; things to note: * before TypesAsValues phase, either variant can be used, although the erased ones need to be used with caution, when speed matters; * after TypesAsValues phase, only the erased variants should be used (done automatically by TreeGen); * when run time types are disabled, the TypesAsValues phase is not skipped anymore: it is turned into a trivial phase which rewrites all non-erased instanceof/casts into erased ones.
* - added a new kind of literal, SYMBOL_NAME, whi...schinz2005-03-141-1/+9
| | | | | | | - added a new kind of literal, SYMBOL_NAME, which is a string literal whose value is the name of the attached symbol - modified mkLocalRef to handle static members
* - Added mkTagMethod that generates tree for Sca...mihaylov2004-11-231-5/+21
| | | | | | | - Added mkTagMethod that generates tree for ScalaObject.$tag - Added a flag to mkUnitFunction and mkFunction whether to generate the $tag method
* *** empty log message ***Martin Odersky2004-09-031-0/+1
|
* - Changed _TYPE methods in Definitions for prim...paltherr2004-06-021-3/+3
| | | | | | - Changed _TYPE methods in Definitions for primitive value and array types
* *** empty log message ***Martin Odersky2004-04-231-2/+2
|
* *** empty log message ***Martin Odersky2004-04-081-2/+4
|
* *** empty log message ***Martin Odersky2004-04-061-1/+1
|
* - Added Tree.Createpaltherr2004-04-061-14/+112
|
* - Added name argument to Symbol.newAnonymousClasspaltherr2004-04-041-2/+4
|
* - Changed Tree.New(Template) to Tree.New(Tree)paltherr2004-04-041-32/+31
|
* - Added method mkQualifierpaltherr2004-04-041-16/+24
|
* - Moved instance of FreshNameCreator from Globa...paltherr2004-04-021-1/+1
| | | | | - Moved instance of FreshNameCreator from Global to Unit
* - Removed method subName in class Namepaltherr2004-03-181-3/+2
| | | | | | - Replaced Name by String in methods getModule and getClass in Definitions
* - Added attribute Symbol.IS_ANONYMOUSpaltherr2004-03-181-4/+2
| | | | | | - Added factory method Symbol.newAnonymousClass - Removed methods startsWith and endsWith from class Name
* - Added factory methods for term symbol in clas...paltherr2004-03-181-15/+13
| | | | | | - Added factory methods for term symbol in class Symbol Made subclasses - of Symbol private (except for ClassSymbol)
* - Changed new ClassSymbol into Symbol.newClasspaltherr2004-03-091-4/+4
|
* - Generalized the use of static types/trees in ...paltherr2004-03-061-11/+9
| | | | | | | - Generalized the use of static types/trees in static contextes. Now all this-types should refer to an enclosing class and all Tree.Select should refer a non-static class member.
* - Removed now useless isNone testpaltherr2004-03-041-1/+1
|
* - Added Type.NoPrefixpaltherr2004-03-041-0/+2
| | | | | - Replaced ThisType(NONE) by NoPrefix
* - Added missing nextPhase/prevPhase around asse...paltherr2004-03-021-0/+2
| | | | | - Added missing nextPhase/prevPhase around assertions in mkNewCons
* - Fixed mk*Ref methods to avoid generation of t...paltherr2004-02-291-5/+7
| | | | | - Fixed mk*Ref methods to avoid generation of trees containing ROOT
* - Removed java version of files translated to s...paltherr2004-02-191-38/+21
| | | | | - Removed java version of files translated to scala
* - Changed Tree.Block(Tree[]) to Tree.Block(Tree...paltherr2004-02-121-33/+67
| | | | | - Changed Tree.Block(Tree[]) to Tree.Block(Tree[],Tree)
* - Removed method TreeGen.This(int,Type)paltherr2004-02-021-13/+0
|
* - Introduced local and global refspaltherr2004-02-011-136/+140
| | | | | | - Fixed related bugs in ExplicitOuter - Replaced TreeGen.mkPrimaryConstr by TreeGen.mkPrimaryConstructorRef methods
* - Generalized use of AConstant to represent con...paltherr2004-02-011-102/+22
| | | | | - Generalized use of AConstant to represent constant values
* - Improved assertion messagepaltherr2004-01-231-1/+2
|
* *** empty log message ***Martin Odersky2004-01-091-2/+2
|
* - Removed old methods Nil and Cons in TreeGenpaltherr2004-01-081-10/+0
|
* - Added array and list creation methodspaltherr2004-01-081-11/+114
|
* - Fixed method changeOwners to use definesSymbo...paltherr2003-12-161-1/+1
| | | | | | - Fixed method changeOwners to use definesSymbol instead of broken TreeInfo.isDefinition.
* added debugprint code creationburaq2003-12-021-2/+22
|
* - Fixed ClassDef to use typeOfThis of next phase;paltherr2003-11-281-3/+7
|
* - Added some methods Typedpaltherr2003-11-251-3/+9
|
* - Removed field toTypepaltherr2003-11-171-39/+51
|
* *** empty log message ***Martin Odersky2003-11-141-9/+9
|
* - Fixed computation of type of initializerpaltherr2003-11-121-1/+4
|
* - Added assertionspaltherr2003-11-121-0/+3
|
* - Fixed mkDefaultValue for type ALLpaltherr2003-11-121-1/+1
|
* *** empty log message ***Martin Odersky2003-11-111-1/+2
|
* - Fixed Ident for initializer methodspaltherr2003-11-051-1/+6
|
* *** empty log message ***Martin Odersky2003-10-301-1/+1
|
* - Normalized member names of class Definitionpaltherr2003-10-301-5/+7
| | | | | - Cleaned code of Definition