coins.ir
Class SourceInfImpl

java.lang.Object
  extended bycoins.ir.SourceInfImpl
All Implemented Interfaces:
SourceInf

public class SourceInfImpl
extends java.lang.Object
implements SourceInf

SourceInfImpl class


Constructor Summary
SourceInfImpl()
           
 
Method Summary
 int getDefinedColumn()
          getDefinedColumn
 java.lang.String getDefinedFile()
          getDefinedFile
 int getDefinedLine()
          getDefinedLine
 void setDefinedFile(java.lang.String pDefinedFile)
          setDefinedFile Set the name of the source program file.
 void setDefinedLine(int pDefinedLine)
          setDefinedLine Set the line number.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceInfImpl

public SourceInfImpl()
Method Detail

getDefinedFile

public java.lang.String getDefinedFile()
Description copied from interface: SourceInf
getDefinedFile

Specified by:
getDefinedFile in interface SourceInf
Returns:
the name of the source program file. If it is not given, then return null.

setDefinedFile

public void setDefinedFile(java.lang.String pDefinedFile)
Description copied from interface: SourceInf
setDefinedFile Set the name of the source program file.

Specified by:
setDefinedFile in interface SourceInf
Parameters:
pDefinedFile - name of the file.

getDefinedLine

public int getDefinedLine()
Description copied from interface: SourceInf
getDefinedLine

Specified by:
getDefinedLine in interface SourceInf
Returns:
the line number. If it is not given, then return 0.

setDefinedLine

public void setDefinedLine(int pDefinedLine)
Description copied from interface: SourceInf
setDefinedLine Set the line number.

Specified by:
setDefinedLine in interface SourceInf
Parameters:
pDefinedLine - the line number to be set.

getDefinedColumn

public int getDefinedColumn()
Description copied from interface: SourceInf
getDefinedColumn

Specified by:
getDefinedColumn in interface SourceInf
Returns:
the column number. If it is not given, then return 0.

toString

public java.lang.String toString()
Specified by:
toString in interface SourceInf