[nem-en] Re: [svn] r7640: vs-plugin/trunk:
Nemerle.Compiler.Utils/Nemerle.Compiler.Utils.csproj
Nemerle.Compiler.Utils/...
Kamil Skalski
kamil.skalski at gmail.com
Mon Apr 30 23:25:17 CEST 2007
Not really, but I have a built-in "strange code" detector in my eyes
;) It works quite well, at least for the first and last two screens
of code. :P
2007/4/30, Sergei Tulentsev <sergei.tulentsev at gmail.com>:
> I wonder if you read through all the code I committed. :-)
>
>
> On 5/1/07, Sergei Tulentsev <sergei.tulentsev at gmail.com > wrote:
> > That was quick-and-dirty solution. The code is to be refactored, of
> course. :-)
> >
> >
> >
> > On 5/1/07, Kamil Skalski < kamil.skalski at gmail.com > wrote:
> > > Woo, what kind of creature is this? ;) Just curious, what is the
> > > reason for operating on System.Type instead of instances of Token and
> > > using 'is' for checks?
> > >
> > > 2007/4/30, kliss <svnadmin at nemerle.org >:
> > > > Log:
> > > > Work on formatter.
> > > >
> > > > Author: kliss
> > > > Date: Mon Apr 30 22:53:41 2007
> > > > New Revision: 7640
> > > >
> > > > + static GetCounterpartTokenType(t : Type) : Type
> > > > + {
> > > > + | bb when bb.Equals(typeof(Token.BeginBrace )) =>
> typeof(Token.EndBrace);
> > > > + | bq when bq.Equals(typeof(Token.BeginQuote)) =>
> typeof(Token.EndQuote);
> > > > + | br when br.Equals(typeof(Token.BeginRound)) =>
> typeof(Token.EndRound);
> > > > + | bs when bs.Equals(typeof(Token.BeginSquare)) =>
> typeof(Token.EndSquare);
> > > > +
> > > > + | eb when eb.Equals(typeof(Token.EndBrace)) =>
> typeof(Token.BeginBrace);
> > > > + | eq when eq.Equals(typeof(Token.EndQuote )) =>
> typeof(Token.BeginQuote);
> > > > + | er when er.Equals(typeof(Token.EndRound)) =>
> typeof(Token.BeginRound);
> > > > + | es when es.Equals(typeof(Token.EndSquare)) =>
> typeof(Token.BeginSquare);
> > > > + | _ => null;
> > > > + }
> > >
> > > --
> > > Kamil Skalski
> > > http://nazgul.omega.pl
> > >
> > > _______________________________________________
> > > https://nemerle.org/mailman/listinfo/devel-en
> > >
> >
> >
> >
> > --
> > Best wishes,
> > Sergei Tulentsev
> > Senior software engineer.
> >
> > SITRONICS Telecom Solutions, Moscow
> > http://www.sitels.ru
> > mob: + 7 916 507 7112
>
>
>
> --
> Best wishes,
> Sergei Tulentsev
> Senior software engineer.
>
> SITRONICS Telecom Solutions, Moscow
> http://www.sitels.ru
> mob: + 7 916 507 7112
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list