CS 536 Fall 2007, Project 5

Class ProcDeclNode.Param

Object
  extended by ProcDeclNode.Param
Enclosing class:
ProcDeclNode

public static class ProcDeclNode.Param
extends Object

A formal parameter.


Field Summary
 IdNode id
          The name of the parameter.
 ProcDeclNode.Mode mode
          The mode of the parameter (IN, OUT, INOUT, or NONE).
 Type.BaseType type
          The type of the parameter.
 
Constructor Summary
ProcDeclNode.Param(IdNode id, Type.BaseType type, ProcDeclNode.Mode mode)
          Creates a new parameter.
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public IdNode id
The name of the parameter.


type

public Type.BaseType type
The type of the parameter.


mode

public ProcDeclNode.Mode mode
The mode of the parameter (IN, OUT, INOUT, or NONE).

Constructor Detail

ProcDeclNode.Param

public ProcDeclNode.Param(IdNode id,
                          Type.BaseType type,
                          ProcDeclNode.Mode mode)
Creates a new parameter.

Parameters:
id - the name of the parameter
type - the type of the parameter
mode - the mode of the parameter (IN, OUT, INOUT, or NONE)

CS 536 Fall 2007, Project 5