org.quattor.pan.utils
Class SourceLocation

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

public class SourceLocation
extends java.lang.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
 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 Quattor. All Rights Reserved.