org.quattor.pan.utils
Class SourceLocation

java.lang.Object
  extended by org.quattor.pan.utils.SourceLocation

public class SourceLocation
extends Object

Represents the source location of a block of characters within a given template. Instances of this class are immutable.

Author:
loomis

Field Summary
 SourceRange sourceRange
           
 Template template
           
 
Constructor Summary
SourceLocation(Template template, SourceRange sourceRange)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceRange

public final SourceRange sourceRange

template

public final Template template
Constructor Detail

SourceLocation

public SourceLocation(Template template,
                      SourceRange sourceRange)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Quattor. All Rights Reserved.