avrora.core.isdl
Class SubroutineDecl

java.lang.Object
  extended byavrora.core.isdl.CodeRegion
      extended byavrora.core.isdl.SubroutineDecl

public class SubroutineDecl
extends CodeRegion

The SubroutineDecl class represents the declaration of a subroutine within the instruction set description. A subroutine has a list of formal parameters and a return type as well as a list of statements that represent its body.


Nested Class Summary
 
Nested classes inherited from class avrora.core.isdl.CodeRegion
CodeRegion.Operand
 
Field Summary
 boolean inline
           
 Token name
           
 Token ret
           
 
Fields inherited from class avrora.core.isdl.CodeRegion
operands, stmts
 
Constructor Summary
SubroutineDecl(boolean i, Token n, java.util.List o, Token r, java.util.List s)
           
 
Methods inherited from class avrora.core.isdl.CodeRegion
getCode, getOperandIterator, getOperands, hasBody, numOperands, setCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final Token name

ret

public final Token ret

inline

public final boolean inline
Constructor Detail

SubroutineDecl

public SubroutineDecl(boolean i,
                      Token n,
                      java.util.List o,
                      Token r,
                      java.util.List s)