From 17d0e7008f62882c10193ea0db09c9b90736c320 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 30 May 2013 10:09:48 +0200 Subject: wip, because I have to get off this machine. --- src/dotty/tools/dotc/typer/Typer.scala | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/dotty/tools/dotc/typer/Typer.scala (limited to 'src/dotty/tools/dotc/typer/Typer.scala') diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala new file mode 100644 index 000000000..c9405af86 --- /dev/null +++ b/src/dotty/tools/dotc/typer/Typer.scala @@ -0,0 +1,21 @@ +package dotty.tools +package dotc +package typer + +import core._ +import ast._ +import Trees._, Constants._, StdNames._, Scopes._ +import Contexts._, Symbols._, Types._, SymDenotations._, Names._, NameOps._, Flags._, Decorators._ +import util.Positions._ +import util.SourcePosition +import collection.mutable +import language.implicitConversions + +trait TyperContextOps { ctx: Context => } + + +class Typer { + def typed(tree: untpd.Tree, pt: Type)(implicit ctx: Context): tpd.Tree = ??? + def typedExpr(tree: untpd.Tree, pt: Type = WildcardType)(implicit ctx: Context): tpd.Tree = ??? + def typedType(tree: untpd.Tree, pt: Type = WildcardType)(implicit ctx: Context): tpd.Tree = ??? +} \ No newline at end of file -- cgit v1.2.3