frysk.scopes
Class Variable
java.lang.Object
frysk.scopes.Variable
- All Implemented Interfaces:
- ObjectDeclaration
- Direct Known Subclasses:
- Enumerator
public class Variable
- extends Object
- implements ObjectDeclaration
This class contains the static information corresponding to a
language variable. Given a Frame it is possible to get a Value
corresponding to this Variable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fine
private static Log fine
finest
private static Log finest
type
private Type type
variableDie
private final DwarfDie variableDie
name
private final String name
locationExpression
private final LocationExpression locationExpression
sourceLocation
private SourceLocation sourceLocation
Variable
public Variable(DwarfDie variableDie)
getVariableDie
public DwarfDie getVariableDie()
getName
public String getName()
- Return the variable's name.
- Specified by:
getName
in interface ObjectDeclaration
getType
public Type getType(ISA isa)
- Specified by:
getType
in interface ObjectDeclaration
getLineNumber
public long getLineNumber()
getColumnNumber
public int getColumnNumber()
toPrint
public void toPrint(PrintWriter printWriter,
DebugInfoFrame frame)
printValue
public void printValue(PrintWriter printWriter,
DebugInfoFrame frame)
printLineCol
public void printLineCol(PrintWriter printWriter)
getValue
public Value getValue(DebugInfoFrame frame)
- Specified by:
getValue
in interface ObjectDeclaration
getSourceLocation
public SourceLocation getSourceLocation()
- Specified by:
getSourceLocation
in interface ObjectDeclaration