org.jetbrains.jet.lang.cfg.pseudocode
Class SubroutineExitInstruction

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
      extended by org.jetbrains.jet.lang.cfg.pseudocode.SubroutineExitInstruction
All Implemented Interfaces:
Instruction

public class SubroutineExitInstruction
extends InstructionImpl


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
isDead, lexicalScope
 
Constructor Summary
SubroutineExitInstruction(JetElement subroutine, LexicalScope lexicalScope, boolean isError)
           
 
Method Summary
 void accept(InstructionVisitor visitor)
           
<R> R
accept(InstructionVisitorWithResult<R> visitor)
           
protected  Instruction createCopy()
           
 java.util.Collection<Instruction> getNextInstructions()
           
 JetElement getSubroutine()
           
 boolean isError()
           
 void setSink(SubroutineSinkInstruction instruction)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
copy, die, getCopies, getInputValues, getLexicalScope, getOutputValue, getOwner, getPreviousInstructions, isDead, outgoingEdgeTo, setOwner, updateCopyInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubroutineExitInstruction

public SubroutineExitInstruction(@NotNull
                                 JetElement subroutine,
                                 @NotNull
                                 LexicalScope lexicalScope,
                                 boolean isError)
Method Detail

getSubroutine

public JetElement getSubroutine()

isError

public boolean isError()

setSink

public void setSink(SubroutineSinkInstruction instruction)

getNextInstructions

@NotNull
public java.util.Collection<Instruction> getNextInstructions()

accept

public void accept(@NotNull
                   InstructionVisitor visitor)

accept

public <R> R accept(@NotNull
                    InstructionVisitorWithResult<R> visitor)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createCopy

@NotNull
protected Instruction createCopy()
Specified by:
createCopy in class InstructionImpl