at.dms.kjc.lir
Class LIRFunctionPointer

java.lang.Object
  extended by at.dms.kjc.lir.LIRFunctionPointer

public class LIRFunctionPointer
extends Object

This represents a function pointer. (Should we include the signature of the function in here, too?


Constructor Summary
LIRFunctionPointer(JMethodDeclaration meth)
          Construct a node in the parsing tree
LIRFunctionPointer(String name)
          Construct a node in the parsing tree
 
Method Summary
 Object accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 void accept(SLIRVisitor v)
           
 String getName()
          Returns the name of the function pointed to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LIRFunctionPointer

public LIRFunctionPointer(String name)
Construct a node in the parsing tree


LIRFunctionPointer

public LIRFunctionPointer(JMethodDeclaration meth)
Construct a node in the parsing tree

Method Detail

getName

public String getName()
Returns the name of the function pointed to.


accept

public Object accept(AttributeVisitor p)
Accepts the specified attribute visitor.

Parameters:
p - the visitor

accept

public void accept(SLIRVisitor v)