orc.error
Interface Locatable

All Superinterfaces:
Located
All Known Implementing Classes:
Argument, ArgumentArityException, ArgumentTypeMismatchException, ArityMismatchException, AsPattern, AssertType, BlockEvent, Call, CallPattern, CapabilityException, Capsule, Catch, ChokeEvent, ClassDeclaration, CompilationException, ConsExpr, ConsPattern, Constant, DatatypeDeclaration, Declaration, Declare, Def, DefinitionArityException, DefMember, DefMemberClause, DefMemberType, DefsDeclaration, DerivedTracer.DerivedTokenTracer, DieEvent, Dot, EqPattern, ErrorEvent, Event, Expression, Field, Field, ForkEvent, FreeEvent, FreeVariable, HasType, IfThenElse, IncludeDeclaration, InferenceRequest, InsufficientArgsException, InsufficientTypeInformationException, JavaError, JavaException, Lambda, Let, ListExpr, ListPattern, Literal, LiteralPattern, MessageNotUnderstoodException, MethodTypeMismatchException, MissingTypeException, MultiTypeException, Name, NilExpr, NilPattern, NonlinearPatternException, Otherwise, Parallel, ParsingException, Pattern, PatternException, PrintEvent, Pruning, PublishEvent, PullEvent, ReceiveEvent, RootEvent, RuntimeTypeException, SendEvent, Sequential, Site, SiteDeclaration, SiteException, SiteResolutionException, StackLimitReachedError, Stop, StoreEvent, SubtypeFailureException, Temporary, Throw, Token, TokenError, TokenException, TokenLimitReachedError, TokenTracer, TuplePattern, TypeAliasDeclaration, TypeArityException, TypeDeclaration, TypedPattern, TypeException, UnblockEvent, UnboundTypeException, UnboundVariableException, UncallableTypeException, UncallableValueException, UncaughtException, UnrepresentableTypeException, UnspecifiedArgTypesException, UnspecifiedReturnTypeException, ValDeclaration, Variable, VariablePattern, WildcardPattern

public interface Locatable
extends Located

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.Located
getSourceLocation
 

Method Detail

setSourceLocation

void setSourceLocation(SourceLocation location)