org.apache.pig.parser
Class SourceLocation

java.lang.Object
  extended by org.apache.pig.parser.SourceLocation

public class SourceLocation
extends Object


Constructor Summary
SourceLocation()
           
SourceLocation(PigParserNode tree)
           
SourceLocation(SourceLocation location)
           
SourceLocation(String filename, int line, int offset)
           
 
Method Summary
 String file()
           
 int line()
           
 PigParserNode node()
           
 int offset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceLocation

public SourceLocation()

SourceLocation

public SourceLocation(String filename,
                      int line,
                      int offset)

SourceLocation

public SourceLocation(PigParserNode tree)

SourceLocation

public SourceLocation(SourceLocation location)
Method Detail

file

public String file()

line

public int line()

offset

public int offset()

node

public PigParserNode node()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 The Apache Software Foundation