[nem-en] Typing a expression in context of method

vc vc at rsdn.ru
Fri May 11 03:54:17 CEST 2007


Hi.

I need type some expression in context of method.
If I create typer like this:
def typer = Typer(mb); // mb is MethodBuilder
typing work well, but it automatically run typing body of method.

If I try create typer like this:
def typer = ctx.Manager.ComponentsFactory.CreateTyper(
   tb, tb.Tenv, mb.GetHeader(), mb.Env);

I can't type expression which contains references on parameters and other
methods.

How I can type arbitrary expression in context of method?

Vlad




More information about the devel-en mailing list