forge.program
Interface LocalDecls

All Superinterfaces:
ProgramElement
All Known Implementing Classes:
LocalDecls.EmptyDecls, LocalDecls.MultiDecls, LocalVariable

public interface LocalDecls
extends ProgramElement

Interface to an ordered set of local variables

Author:
Greg Dennis (gdennis@mit.edu)

Nested Class Summary
static class LocalDecls.EmptyDecls
          An empty set of decls.
static class LocalDecls.MultiDecls
          A set of one or more local variables.
 
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.
 
Methods inherited from interface forge.program.ProgramElement
program
 

Method Detail

and

LocalDecls and(LocalVariable local)
Returns this decl appended with the given local.


locals

edu.mit.csail.sdg.util.collections.UniqueList<LocalVariable> locals()
Returns the local variables in this decls.