[svn]
r7437: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2:
CodeModel/ExprFinder.n Tests/Cont...
IT
svnadmin at nemerle.org
Fri Feb 16 05:51:26 CET 2007
Log:
Working on ExprFinder.
Author: IT
Date: Fri Feb 16 05:51:23 2007
New Revision: 7437
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip2.n
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n Fri Feb 16 05:51:23 2007
@@ -123,6 +123,7 @@
| TExpr.FieldMember (_, o)
| TExpr.PropertyMember (_, o)
| TExpr.LocalRef (o : object)
+ | TExpr.MethodRef (_, o, _, _)
| TExpr.LocalFunRef (o, _)
| TExpr.StaticRef (_, o, _)
| TExpr.HasType (_, o)
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip2.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip2.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip2.n Fri Feb 16 05:51:23 2007
@@ -12,6 +12,9 @@
{
DoTest()
{
+ def s = "";
+ s. Substring /*018:-2*/(0);
+
mutable foo = 0;
do {
foo /*017:-2*/+= 100;
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n Fri Feb 16 05:51:23 2007
@@ -38,6 +38,7 @@
Assert.AreEqual(len, result.ColEnd - result.ColStart);
}
+ test("018", 9, "Substring");
test("017", 3, "foo");
test("016", 3, "Op1");
test("015", 3, "chk");
More information about the svn
mailing list