coins.ffront
Class Pair

java.lang.Object
  extended bycoins.ffront.Pair
All Implemented Interfaces:
Node
Direct Known Subclasses:
BinaryNode, ComplexConstNode, ConcatNode, DoListNode, SubscrOrFunCallNode, SubstringNode, Triple

public class Pair
extends java.lang.Object
implements Node


Field Summary
(package private)  FirToHir fHir
           
(package private)  Node left
           
(package private)  Node right
           
 
Constructor Summary
Pair(Node p1, Node p2, FirToHir pfHir)
           
 
Method Summary
 Node getLeft()
           
 Node getRight()
           
 Exp makeArgAddr(FStmt pFStmt)
           
 Exp makeExp()
           
 void print(int level, java.lang.String spaces)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fHir

FirToHir fHir

left

Node left

right

Node right
Constructor Detail

Pair

public Pair(Node p1,
            Node p2,
            FirToHir pfHir)
Method Detail

getLeft

public Node getLeft()

getRight

public Node getRight()

print

public void print(int level,
                  java.lang.String spaces)
Specified by:
print in interface Node

toString

public java.lang.String toString()
Specified by:
toString in interface Node

makeExp

public Exp makeExp()
Specified by:
makeExp in interface Node

makeArgAddr

public Exp makeArgAddr(FStmt pFStmt)
Specified by:
makeArgAddr in interface Node