All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ProgolInterface.ModeArg

java.lang.Object
   |
   +----ProgolInterface.ModeArg

public class ModeArg
extends Object
A class to represent an argument in a mode declaration. i.e. the type paired with an input/output operator.

See Also:
Mode

Constructor Index

 o ModeArg(String, int)
Constructs a ModeArg with the given type and I/O.
 o ModeArg(Term)
Constructs a ModeArg from the given term.

Method Index

 o toString()
 o type()

Constructors

 o ModeArg
 public ModeArg(String type,
                int dir)
Constructs a ModeArg with the given type and I/O.

Parameters:
type - The type of the argument (as a string).
dir - The I/O direction of the argument.
 o ModeArg
 public ModeArg(Term term)
Constructs a ModeArg from the given term.

Parameters:
term - A Term representing the argument.

Methods

 o type
 public final String type()
Returns:
the type of the Mode argument.
 o toString
 public final String toString()
Returns:
A string representation of the Mode argument.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index