xrel.analyzer
Class TranslateP

java.lang.Object
  |
  +--xrel.analyzer.TranslateP

public class TranslateP
extends java.lang.Object

TODO insert comment here

Author:
Fabrizio

Constructor Summary
TranslateP()
           
 
Method Summary
static void internalizeP(SimpleNode root)
          Internalizes all the patterns of the program, that is it transformes them in a internal form for the algorithm.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslateP

public TranslateP()
Method Detail

internalizeP

public static void internalizeP(SimpleNode root)

Internalizes all the patterns of the program, that is it transformes them in a internal form for the algorithm.

In detail it makes the following changes on the tree:

The resulting tree has the following syntax:

Parameters:
root - the root node of the program