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
-
ModeArg(String, int)
- Constructs a ModeArg with the given type and I/O.
-
ModeArg(Term)
- Constructs a ModeArg from the given term.
-
toString()
-
-
type()
-
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.
ModeArg
public ModeArg(Term term)
- Constructs a ModeArg from the given term.
- Parameters:
- term - A Term representing the argument.
type
public final String type()
- Returns:
- the type of the Mode argument.
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