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

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.VariableDeclarationInstruction
All Implemented Interfaces:
Instruction, JetElementInstruction

public class VariableDeclarationInstruction
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
 
Constructor Summary
protected VariableDeclarationInstruction(JetParameter element)
           
protected VariableDeclarationInstruction(JetVariableDeclaration element)
           
 
Method Summary
 void accept(InstructionVisitor visitor)
           
protected  Instruction createCopy()
           
 JetDeclaration getVariableDeclarationElement()
           
 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
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
copy, die, getCopies, 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, getOwner, getPreviousInstructions, setOwner
 

Constructor Detail

VariableDeclarationInstruction

protected VariableDeclarationInstruction(@NotNull
                                         JetParameter element)

VariableDeclarationInstruction

protected VariableDeclarationInstruction(@NotNull
                                         JetVariableDeclaration element)
Method Detail

getVariableDeclarationElement

public JetDeclaration getVariableDeclarationElement()

accept

public void accept(InstructionVisitor visitor)

toString

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

createCopy

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