|
From: <caw...@us...> - 2007-03-13 18:47:07
|
Revision: 2154
http://svn.sourceforge.net/rubyeclipse/?rev=2154&view=rev
Author: cawilliams
Date: 2007-03-13 11:46:57 -0700 (Tue, 13 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/SourceModuleScope.java
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/TypeScope.java
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/lookup/LookupEnvironment.java
Added Paths:
-----------
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/ModuleDeclaration.java
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/impl/
branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/impl/ITypeRequestor.java
Added: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/ModuleDeclaration.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/ModuleDeclaration.java (rev 0)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/ModuleDeclaration.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -0,0 +1,9 @@
+package org.rubypeople.rdt.internal.compiler.ast;
+
+import org.rubypeople.rdt.internal.compiler.env.lookup.Scope;
+
+public class ModuleDeclaration {
+
+ public Scope scope;
+
+}
Added: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java (rev 0)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/ast/TypeDeclaration.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -0,0 +1,5 @@
+package org.rubypeople.rdt.internal.compiler.ast;
+
+public class TypeDeclaration {
+
+}
Modified: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/SourceModuleScope.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/SourceModuleScope.java 2007-03-13 18:42:18 UTC (rev 2153)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/SourceModuleScope.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -11,6 +11,7 @@
*******************************************************************************/
package org.rubypeople.rdt.internal.compiler.env.lookup;
+import org.rubypeople.rdt.internal.compiler.ast.ModuleDeclaration;
import org.rubypeople.rdt.internal.compiler.lookup.LookupEnvironment;
import org.rubypeople.rdt.internal.compiler.util.CompoundNameVector;
import org.rubypeople.rdt.internal.compiler.util.HashtableOfObject;
Modified: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/TypeScope.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/TypeScope.java 2007-03-13 18:42:18 UTC (rev 2153)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/env/lookup/TypeScope.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.rubypeople.rdt.internal.compiler.env.lookup;
+import org.rubypeople.rdt.internal.compiler.ast.TypeDeclaration;
+
public class TypeScope extends Scope {
public TypeDeclaration referenceContext;
Added: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/impl/ITypeRequestor.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/impl/ITypeRequestor.java (rev 0)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/impl/ITypeRequestor.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.compiler.impl;
+
+import org.rubypeople.rdt.core.IType;
+import org.rubypeople.rdt.internal.compiler.env.AccessRestriction;
+import org.rubypeople.rdt.internal.compiler.env.IRubyScript;
+
+public interface ITypeRequestor {
+ /**
+ * Accept the requested type's compilation unit.
+ */
+ void accept(IRubyScript unit, AccessRestriction accessRestriction);
+
+ /**
+ * Accept the unresolved source forms for the requested type.
+ * Note that the multiple source forms can be answered, in case the target compilation unit
+ * contains multiple types. The first one is then guaranteed to be the one corresponding to the
+ * requested type.
+ */
+ void accept(IType[] sourceType, PackageBinding packageBinding, AccessRestriction accessRestriction);
+}
Modified: branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/lookup/LookupEnvironment.java
===================================================================
--- branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/lookup/LookupEnvironment.java 2007-03-13 18:42:18 UTC (rev 2153)
+++ branches/search_engine/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/compiler/lookup/LookupEnvironment.java 2007-03-13 18:46:57 UTC (rev 2154)
@@ -1,7 +1,10 @@
package org.rubypeople.rdt.internal.compiler.lookup;
+import org.rubypeople.rdt.internal.compiler.ast.ModuleDeclaration;
import org.rubypeople.rdt.internal.compiler.env.AccessRestriction;
+import org.rubypeople.rdt.internal.compiler.env.INameEnvironment;
import org.rubypeople.rdt.internal.compiler.env.lookup.SourceModuleScope;
+import org.rubypeople.rdt.internal.compiler.impl.ITypeRequestor;
public class LookupEnvironment {
public LookupEnvironment(ITypeRequestor typeRequestor, INameEnvironment nameEnvironment) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|