orc.error
Interface Locatable

All Superinterfaces:
Located
All Known Implementing Classes:
Argument, ArgumentArityException, ArgumentTypeMismatchException, ArityMismatchException, AsPattern, AssertType, Atomic, BlockEvent, Call, CallPattern, CapabilityException, ChokeEvent, ClassDeclaration, CompilationException, ConsExpr, ConsPattern, Constant, DatatypeDeclaration, Declaration, Declare, Def, DefinitionArityException, Defn, DefnClause, DefnType, DefsDeclaration, DerivedTracer.DerivedTokenTracer, DieEvent, Dot, ErrorEvent, Event, Expression, Field, Field, ForkEvent, FreeEvent, HasType, IfThenElse, InferenceRequest, InsufficientArgsException, InsufficientTypeInformationException, Isolated, JavaException, Lambda, Let, ListExpr, ListPattern, Literal, LiteralPattern, MessageNotUnderstoodException, MethodTypeMismatchException, MissingTypeException, Name, NamedVar, NilExpr, NilPattern, NonlinearPatternException, NontransactionalSiteException, Parallel, ParsingException, Pattern, PatternException, PrintEvent, PublishEvent, PullEvent, ReceiveEvent, RootEvent, RuntimeTypeException, Semi, SendEvent, Sequential, Silent, Site, SiteDeclaration, SiteException, SiteResolutionException, StackLimitReachedError, StoreEvent, SubtypeFailureException, Token, TokenError, TokenException, TokenLimitReachedError, TokenTracer, TuplePattern, TypeAliasDeclaration, TypeArityException, TypeDeclaration, TypedPattern, TypeException, UnblockEvent, UnboundTypeException, UnboundVariableException, UncallableTypeException, UncallableValueException, UnspecifiedArgTypesException, UnspecifiedReturnTypeException, ValDeclaration, Var, VariablePattern, Where, 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)