[all packages] [package ] [class hierarchy] [index]

public class PremonJJTId

(source file: PremonJJTId.java)
java.lang.Object
   |
   +----Printable
           |
           +----PremonJJTNode
                   |
                   +----PremonJJTId

The pure class interface.
public class PremonJJTId
  extends PremonJJTNode
An identifier.

Author:
Alan Jeffrey
Version: v1.0 1998/06/09

Constuctor Index

O PremonJJTId(int)

Variables Index

O name

Methods

O desugarTypeVar()
Desugar the identifier.
O desugarVar(PremonType)
Desugar the identifer.
O desugarVarPrimitive(PremonType)
Desugar the identifer.
O desugarVarPrimitiveFun(PremonType, int)
Desugar the identifer.
O print(Printer)
O setName(String)
Set the name of the identifier.
O toString()

Constructors

O PremonJJTId
public PremonJJTId(int id);

Variables

O name
public String name;

Methods

O setName
public PremonJJTId setName(String s);
Set the name of the identifier.

Parameters:
s - the name.
Returns:
this identifier.

O print

public void print(Printer p);

O toString

public String toString();

O desugarVar

public PremonVar desugarVar(PremonType T);
Desugar the identifer.

Parameters:
T - the type of the desugared variable.
Returns:
this identifier as a typed variable.

O desugarVarPrimitive

public PremonVar desugarVarPrimitive(PremonType T);
Desugar the identifer.

Parameters:
T - the type of the desugared constant.
Returns:
this identifier as a typed primitive constant.

O desugarVarPrimitiveFun

public PremonVar desugarVarPrimitiveFun(PremonType T,
                                        int curryings);
Desugar the identifer.

Parameters:
T - the type of the desugared function.
curryings - how many times the function has been curried.
Returns:
this identifier as a typed primitive function.

O desugarTypeVar

public PremonType desugarTypeVar();
Desugar the identifier.

Returns:
this identifier as a type variable.


[all packages] [package ] [class hierarchy] [index]
PremonJJTId.html