~ubuntu-branches/debian/sid/scala/sid

« back to all changes in this revision

Viewing changes to src/library/scala/reflect/Type.scala

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg, Mehdi Dogguy, Lucas Satabin, Frank S. Thomas, Emmanuel Bourg
  • Date: 2015-06-05 23:52:59 UTC
  • mfrom: (1.2.11)
  • Revision ID: package-import@ubuntu.com-20150605235259-wk00vgk83dh8o19g
Tags: 2.10.5-1
* Team upload.

[ Mehdi Dogguy ]
* New upstream release (Closes: #744278).

[ Lucas Satabin ]
* Update patches
* Update the clean target
* Update paths of elements to install
* Update watch file

[ Frank S. Thomas ]
* Remove myself from Uploaders.

[ Emmanuel Bourg ]
* The package has been adopted by the Java Team (Closes: #754935)
* Patched the build to avoid downloading libraries from the Internet
* Replaced the minified JavaScript files with unobfuscated ones
* No longer build scala-partest.jar until diffutils is packaged or replaced
* debian/watch: Fixed the versions matched (x.y.z instead of x.y.z..z)
* debian/rules:
  - Added the missing get-orig-source target (Closes: #724704)
  - Improved the clean target
* debian/control:
  - Build depend on scala (>= 2.10) and bnd
  - Use canonical URLs for the Vcs-* fields
  - Standards-Version updated to 3.9.6 (no changes)
* Switch to debhelper level 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*                     __                                               *\
2
 
**     ________ ___   / /  ___     Scala API                            **
3
 
**    / __/ __// _ | / /  / _ |    (c) 2002-2011, LAMP/EPFL             **
4
 
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
5
 
** /____/\___/_/ |_/____/_/ | |                                         **
6
 
**                          |/                                          **
7
 
\*                                                                      */
8
 
 
9
 
package scala.reflect
10
 
 
11
 
/** This type is required by the compiler and <b>should not be used in client code</b>. */
12
 
abstract class Type
13
 
 
14
 
/** This type is required by the compiler and <b>should not be used in client code</b>. */
15
 
case object NoPrefix extends Type
16
 
/** This type is required by the compiler and <b>should not be used in client code</b>. */
17
 
case object NoType extends Type
18
 
 
19
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
20
 
  * fullname */
21
 
case class NamedType(fullname: String) extends Type
22
 
 
23
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
24
 
  * pre # sym */
25
 
case class PrefixedType(pre: Type, sym: Symbol) extends Type
26
 
 
27
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
28
 
  * pre.type # sym == pre.sym */
29
 
case class SingleType(pre: Type, sym: Symbol) extends Type
30
 
 
31
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
32
 
  * clazz.this */
33
 
case class ThisType(clazz: Symbol) extends Type
34
 
 
35
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
36
 
  * clazz.super[superClazz]
37
 
  * <code>tpe[args1, ..., argsn]</code> */
38
 
case class AppliedType(tpe: Type, args: List[Type]) extends Type
39
 
 
40
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
41
 
  * [a &lt;: lo &gt;: hi] */
42
 
case class TypeBounds(lo: Type, hi: Type) extends Type
43
 
 
44
 
/** This type is required by the compiler and <b>should not be used in client code</b>.
45
 
  * <code>(formals1 ... formalsn) restpe</code> */
46
 
case class MethodType(formals: List[Symbol], restpe: Type) extends Type
47
 
 
48
 
/** This type is required by the compiler and <b>should not be used in client code</b>. */
49
 
case class NullaryMethodType(resultType: Type) extends Type
50
 
 
51
 
/** This type is required by the compiler and <b>should not be used in client code</b>. */
52
 
case class PolyType(typeParams: List[Symbol], typeBounds: List[(Type, Type)], resultType: Type) extends Type
53
 
 
54
 
/* Standard pattern match:
55
 
 
56
 
  case reflect.NoPrefix =>
57
 
  case reflect.NoType =>
58
 
  case reflect.NamedType(fullname) =>
59
 
  case reflect.PrefixedType(pre, sym) =>
60
 
  case reflect.SingleType(pre, sym) =>
61
 
  case reflect.ThisType(clazz) =>
62
 
  case reflect.AppliedType(tpe, args) =>
63
 
  case reflect.TypeBounds(lo, hi) =>
64
 
  case reflect.MethodType(formals, restpe) =>
65
 
  case reflect.NullaryMethodType(restpe) =>
66
 
  case reflect.PolyType(typeParams, typeBounds, resultType) =>
67
 
*/