org.sonar.sslr.text
Class TextLocation

java.lang.Object
  extended by org.sonar.sslr.text.TextLocation

public class TextLocation
extends Object

This class is not intended to be instantiated or subclassed by clients.

Since:
1.17

Constructor Summary
TextLocation(File file, int line, int column)
           
TextLocation(File file, URI uri, int line, int column)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getColumn()
           
 File getFile()
           
 URI getFileURI()
          For internal use only.
 int getLine()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextLocation

public TextLocation(@Nullable
                    File file,
                    int line,
                    int column)

TextLocation

public TextLocation(@Nullable
                    File file,
                    @Nullable
                    URI uri,
                    int line,
                    int column)
Method Detail

getFile

public File getFile()

getFileURI

public URI getFileURI()
For internal use only.


getLine

public int getLine()

getColumn

public int getColumn()

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 © 2009-2014 SonarSource. All Rights Reserved.