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

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
      extended by org.jetbrains.jet.lang.cfg.pseudocode.JetElementInstructionImpl
          extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionWithNext
              extended by org.jetbrains.jet.lang.cfg.pseudocode.SubroutineEnterInstruction
All Implemented Interfaces:
Instruction, JetElementInstruction

public class SubroutineEnterInstruction
extends InstructionWithNext


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.JetElementInstructionImpl
element
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
isDead, lexicalScope
 
Constructor Summary
SubroutineEnterInstruction(JetElement subroutine, LexicalScope lexicalScope)
           
 
Method Summary
 void accept(InstructionVisitor visitor)
           
<R> R
accept(InstructionVisitorWithResult<R> visitor)
           
protected  Instruction createCopy()
           
 JetElement getSubroutine()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionWithNext
getNext, getNextInstructions, setNext
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.JetElementInstructionImpl
getElement, render
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
copy, die, getCopies, getLexicalScope, getOwner, getPreviousInstructions, isDead, outgoingEdgeTo, setOwner, updateCopyInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.cfg.pseudocode.Instruction
getCopies, getLexicalScope, getOwner, getPreviousInstructions, setOwner
 

Constructor Detail

SubroutineEnterInstruction

public SubroutineEnterInstruction(@NotNull
                                  JetElement subroutine,
                                  @NotNull
                                  LexicalScope lexicalScope)
Method Detail

getSubroutine

public JetElement getSubroutine()

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