Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.core.isdl
Class SubroutineDecl

    java.lang.Object
      avrora.core.isdl.CodeRegion
          avrora.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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD