ptolemy.copernicus.java
Interface CodeGenerationScope
- All Superinterfaces:
- ParserScope
- All Known Implementing Classes:
- DataUtilities.ActorCodeGenerationScope
public interface CodeGenerationScope
- extends ParserScope
An interface used by the expression code generator for identifier lookup.
- Since:
- Ptolemy II 2.1
- Version:
- $Id: CodeGenerationScope.java,v 1.19 2007/12/06 18:28:46 cxh Exp $
- Author:
- Steve Neuendorffer
- See Also:
ParserScope
- Accepted Rating:
- Proposed Rating:
Method Summary |
soot.Local |
getLocal(java.lang.String name)
Look up and return the type of the value with the specified
name in the scope. |
getLocal
soot.Local getLocal(java.lang.String name)
throws IllegalActionException
- Look up and return the type of the value with the specified
name in the scope. Return null if the name is not defined in
this scope.
- Parameters:
name
- The name to be looked up.
- Returns:
- The token associated with the given name in the scope.
- Throws:
IllegalActionException
- If a value in the scope
exists with the given name, but cannot be evaluated.