com.cmpware.elf
Class Dwarf2VariableInfo

java.lang.Object
  extended by com.cmpware.elf.Dwarf2VariableInfo

public class Dwarf2VariableInfo
extends java.lang.Object

This class converts the DWARF2 Tag / Attribute heirarchy to a simpler Scope / Variable heirarchy, This data structure is simpler and more variable-specific and is more amenable to use in a tree display.

Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Constructor Summary
Dwarf2VariableInfo()
           
 
Method Summary
 Scope get()
          This method returns the top level Scope.
 void load(Dwarf2 dwarf2, Tag[] tags)
          This method creates the heirarchy of scopes and variables from the array of DWARF Tags.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dwarf2VariableInfo

public Dwarf2VariableInfo()
Method Detail

get

public Scope get()
This method returns the top level Scope.

Returns:
This method returns the top level Scope.

load

public void load(Dwarf2 dwarf2,
                 Tag[] tags)
This method creates the heirarchy of scopes and variables from the array of DWARF Tags.

Parameters:
dwarf2 - the dwarf2 object being loaded.
tags - The DWARF tags.