blob: e05b7c282e68a1c1a1614788462c0c613fabf39c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2007 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
*
*******************************************************************************/
package org.eclipse.dltk.ruby.ast;
import org.eclipse.dltk.ast.references.VariableKind;
public interface RubyVariableKind extends VariableKind {
public class RubyImplementation extends Implementation implements
RubyVariableKind {
public RubyImplementation(VariableKind kind) {
super(kind.getId());
}
}
public static final RubyVariableKind LOCAL = new RubyImplementation(
VariableKind.LOCAL);
public static final RubyVariableKind GLOBAL = new RubyImplementation(
VariableKind.GLOBAL);
public static final RubyVariableKind INSTANCE = new RubyImplementation(
VariableKind.INSTANCE);
public static final RubyVariableKind CLASS = new RubyImplementation(
VariableKind.CLASS);
public static final RubyVariableKind CONSTANT = new RubyImplementation(
VariableKind.GLOBAL);
}