org.stjs.generator
Class SourcePosition
java.lang.Object
org.stjs.generator.SourcePosition
- All Implemented Interfaces:
- Serializable
@Immutable
public final class SourcePosition
- extends Object
- implements Serializable
This class indicated a position in a source file (line, column) where the given identifier starts.
- Author:
- Alexandru Craciun
- See Also:
- Serialized Form
SourcePosition
public SourcePosition(File file,
int beginLine,
int beginColumn)
getLine
public int getLine()
getColumn
public int getColumn()
getFile
public File getFile()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.