jfun.jaskell.ast
Class Location
java.lang.Object
jfun.jaskell.ast.Location
- All Implemented Interfaces:
- java.io.Serializable
- public final class Location
- extends java.lang.Object
- implements java.io.Serializable
Represents a line in a module.
- Author:
- DBBXY1
- See Also:
- Serialized Form
Constructor Summary |
Location(java.lang.Object module_id,
java.lang.String module,
int lno)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Location
public Location(java.lang.Object module_id,
java.lang.String module,
int lno)
- Parameters:
module
- the module name.lno
- the line number.
getLineNumber
public int getLineNumber()
- get the line number.
getModuleName
public java.lang.String getModuleName()
- Get the module name.
getModuleId
public java.lang.Object getModuleId()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
toString
public java.lang.String toString()