forge.program
Class LocalDecls.EmptyDecls

java.lang.Object
  extended by forge.program.LocalDecls.EmptyDecls
All Implemented Interfaces:
LocalDecls, ProgramElement
Enclosing interface:
LocalDecls

public static final class LocalDecls.EmptyDecls
extends java.lang.Object
implements LocalDecls

An empty set of decls.


Nested Class Summary
 
Nested classes/interfaces inherited from interface forge.program.LocalDecls
LocalDecls.EmptyDecls, LocalDecls.MultiDecls
 
Method Summary
 LocalDecls and(LocalVariable local)
          Returns this decl appended with the given local.
 edu.mit.csail.sdg.util.collections.UniqueList<LocalVariable> locals()
          Returns the local variables in this decls.
 ForgeProgram program()
          Returns the program to which this element belongs.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

program

public ForgeProgram program()
Description copied from interface: ProgramElement
Returns the program to which this element belongs.

Specified by:
program in interface ProgramElement

and

public LocalDecls and(LocalVariable local)
Description copied from interface: LocalDecls
Returns this decl appended with the given local.

Specified by:
and in interface LocalDecls

locals

public edu.mit.csail.sdg.util.collections.UniqueList<LocalVariable> locals()
Description copied from interface: LocalDecls
Returns the local variables in this decls.

Specified by:
locals in interface LocalDecls

toString

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