frysk.scopes
Class Composite

java.lang.Object
  extended by frysk.scopes.Scope
      extended by frysk.scopes.Composite

public class Composite
extends Scope

A Composite object is a scope to wich a function can belong: So either a Struct or a class. This represents all the static information about that object.


Field Summary
(package private)  CompositeType compositeType
           
 
Fields inherited from class frysk.scopes.Scope
collections, typeFactory, variables
 
Constructor Summary
Composite(DwarfDie die, TypeFactory typeFactory)
           
 
Method Summary
 ObjectDeclaration getDeclaredObjectByName(String name)
           
 String getName()
           
 Type getType()
           
 
Methods inherited from class frysk.scopes.Scope
getDeclaredObjectByNameRecursive, getDie, getEnums, getInner, getObjectDeclarations, getOuter, getScopes, getSourceLocation, getVariables, isScopeDie, setOuter, toPrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compositeType

CompositeType compositeType
Constructor Detail

Composite

public Composite(DwarfDie die,
                 TypeFactory typeFactory)
Method Detail

getName

public String getName()

getType

public Type getType()

getDeclaredObjectByName

public ObjectDeclaration getDeclaredObjectByName(String name)
Overrides:
getDeclaredObjectByName in class Scope