frysk.expr
Class ExprSearchEngine

java.lang.Object
  extended by frysk.debuginfo.ObjectDeclarationSearchEngine
      extended by frysk.expr.ExprSearchEngine
All Implemented Interfaces:
ExprSymTab

public class ExprSearchEngine
extends ObjectDeclarationSearchEngine
implements ExprSymTab

This class adapts ObjectDeclarationSearchEngine so that it is usable by ExprSymTab. This class should be eliminated by modifying ExprSymTab to use ObjectDeclarationSearchEngine


Field Summary
private  DebugInfoFrame frame
           
private  Task task
           
 
Constructor Summary
ExprSearchEngine(DebugInfoFrame frame)
           
 
Method Summary
 void complete(String incomplete, List candidates)
          XXX: Who knows if this works; it is certainly not implemented correctly as it should use the ObjectDeclaration.
 Value getValue(String s)
          Lookup S, assuming S is variable or constant.
 int getWordSize()
          Return the wordsize.
 ByteOrder order()
          The byte order to use when creating new values.
 ByteBuffer taskMemory()
          Return the task's memory buffer
 
Methods inherited from class frysk.debuginfo.ObjectDeclarationSearchEngine
getObject, getObjectInScope, getObjectUsingBinaryInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface frysk.expr.ExprSymTab
getObjectInScope
 

Field Detail

frame

private final DebugInfoFrame frame

task

private Task task
Constructor Detail

ExprSearchEngine

public ExprSearchEngine(DebugInfoFrame frame)
Method Detail

getValue

public Value getValue(String s)
Description copied from interface: ExprSymTab
Lookup S, assuming S is variable or constant.

Specified by:
getValue in interface ExprSymTab

complete

public void complete(String incomplete,
                     List candidates)
XXX: Who knows if this works; it is certainly not implemented correctly as it should use the ObjectDeclaration.

Specified by:
complete in interface ExprSymTab

order

public ByteOrder order()
Description copied from interface: ExprSymTab
The byte order to use when creating new values.

Specified by:
order in interface ExprSymTab

taskMemory

public ByteBuffer taskMemory()
Description copied from interface: ExprSymTab
Return the task's memory buffer

Specified by:
taskMemory in interface ExprSymTab

getWordSize

public int getWordSize()
Description copied from interface: ExprSymTab
Return the wordsize.

Specified by:
getWordSize in interface ExprSymTab