orc.error
Interface Locatable

All Superinterfaces:
Debuggable
All Known Implementing Classes:
ArgumentTypeMismatchException, ArityMismatchException, Call, Call, InsufficientArgsException, JavaException, MessageNotUnderstoodException, MethodTypeMismatchException, RuntimeTypeException, SiteException, TokenException, UncallableValueException

public interface Locatable
extends Debuggable

Interface representing entities whose source location can be assigned, not just observed. Typically used when an entity has a source location associated with it, but that location cannot be determined at the point where the entity is created, and so is assigned later (cf TokenException).

Author:
dkitchin

Method Summary
 void setSourceLocation(SourceLocation location)
           
 
Methods inherited from interface orc.error.Debuggable
getSourceLocation
 

Method Detail

setSourceLocation

void setSourceLocation(SourceLocation location)