Top Fields Constructors Methods
org.jruby.ext.ripper

public Class Position

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final int
pack-priv final String
pack-priv final int
pack-priv final int

Constructor Summary

AccessConstructor and Description
public
Position(String filename, int startLine, int endLine, int startOffset, int endOffset)

Method Summary

Modifier and TypeMethod and Description
public int
public int
public String
public int
public int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

endLineback to summary
pack-priv final int endLine
endOffsetback to summary
pack-priv final int endOffset
filenameback to summary
pack-priv final String filename
startLineback to summary
pack-priv final int startLine
startOffsetback to summary
pack-priv final int startOffset

Constructor Detail

Positionback to summary
public Position(String filename, int startLine, int endLine, int startOffset, int endOffset)

Method Detail

getEndLineback to summary
public int getEndLine()
getEndOffsetback to summary
public int getEndOffset()
getFileback to summary
public String getFile()
getStartLineback to summary
public int getStartLine()
getStartOffsetback to summary
public int getStartOffset()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override