org.jetbrains.jet.lang.resolve.scopes.receivers
Class ScriptReceiver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.scopes.receivers.ScriptReceiver
All Implemented Interfaces:
ReceiverValue, ThisReceiver

public class ScriptReceiver
extends java.lang.Object
implements ThisReceiver


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverValue
NO_RECEIVER
 
Constructor Summary
ScriptReceiver(ScriptDescriptor scriptDescriptor)
           
 
Method Summary
<R,D> R
accept(ReceiverValueVisitor<R,D> visitor, D data)
           
 boolean exists()
           
 ScriptDescriptor getDeclarationDescriptor()
           
 JetType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptReceiver

public ScriptReceiver(@NotNull
                      ScriptDescriptor scriptDescriptor)
Method Detail

getDeclarationDescriptor

@NotNull
public ScriptDescriptor getDeclarationDescriptor()
Specified by:
getDeclarationDescriptor in interface ThisReceiver

getType

@NotNull
public JetType getType()
Specified by:
getType in interface ReceiverValue

exists

public boolean exists()
Specified by:
exists in interface ReceiverValue

accept

public <R,D> R accept(@NotNull
                      ReceiverValueVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface ReceiverValue