Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameStore NameStore NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Lambda arguments args defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return ListLoad Call AttributeLoad NameLoad attr NameLoad Str Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad FunctionDef arguments args defaults body TryExcept body Return Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Raise decorator_list TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad orelse Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad AttributeLoad NameLoad attr body Return NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad Str AttributeLoad NameLoad attr Str orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad Str AttributeLoad NameLoad attr Str orelse Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad Str NameLoad Str keyword Call AttributeLoad NameLoad attr ListLoad NameLoad Str NameLoad Str decorator_list decorator_list
N/A zope.interface implements twisted.python context imaginary iimaginary language eimaginary imaginary.idea Proximity ProviderOf Event N/A N/A language BaseExpress N/A N/A N/A implements N/A iimaginary IConcept N/A actorMessage targetMessage toolMessage otherMessage None __init__ N/A N/A self location actor target tool actorMessage targetMessage toolMessage otherMessage N/A None None None None None None None None N/A N/A N/A N/A location None N/A actor None N/A N/A location N/A actor location N/A N/A self location location N/A N/A self actor actor N/A N/A self target target N/A N/A self tool tool N/A N/A actorMessage None N/A N/A N/A self actorMessage N/A N/A iimaginary IConcept actorMessage N/A N/A targetMessage None N/A N/A N/A self targetMessage N/A N/A iimaginary IConcept targetMessage N/A N/A toolMessage None N/A N/A N/A self toolMessage N/A N/A iimaginary IConcept toolMessage N/A N/A otherMessage None N/A N/A N/A self otherMessage N/A N/A iimaginary IConcept otherMessage N/A conceptFor N/A N/A self observer N/A N/A N/A 
        Retrieve the appropriate L{IConcept} provider for a given observer.  If
        the observer is this L{Event}'s C{actor}, it will return the
        C{actorMessage} for this event, and so on for the tool and the target.
        If it doesn't match a L{Thing} known to this event, it will return
        C{otherMessage}.
         N/A N/A observer N/A self actor N/A N/A msg N/A self actorMessage N/A N/A N/A observer N/A self target N/A N/A msg N/A self targetMessage N/A N/A N/A observer N/A self tool N/A N/A msg N/A self toolMessage N/A N/A msg N/A self otherMessage N/A msg N/A reify N/A N/A self N/A N/A N/A 
        Determine which objects should receive this event and return a callable
        object which will deliver it to them.

        Note that this occurs during event propagation, and you probably don't
        need to call it directly.

        @see: L{iimaginary.IEventObserver.prepare} and
            L{TransactionalEventBroadcaster} for a more thorough description of
            how this method is used to interact with transactions.

        @return: a 0-arg callable object which, when called, will call the
            results of all L{IEventObserver}s which were contained within this
            L{Event}'s location when this method, L{Event.reify}, was called.
         N/A L N/A N/A observer N/A N/A N/A N/A self location idea obtain N/A Proximity 0.5 N/A ProviderOf N/A iimaginary IEventObserver N/A N/A sender N/A N/A observer prepare self N/A N/A N/A callable sender N/A N/A N/A TypeError Senders must be callable sender N/A N/A N/A L append sender N/A N/A N/A N/A N/A N/A map apply L N/A vt102 N/A N/A self observer N/A N/A N/A c N/A N/A self conceptFor observer N/A N/A c None N/A N/A N/A N/A N/A c vt102 observer N/A N/A N/A TransactionalEventBroadcaster N/A object N/A N/A 
    Collect a bunch of output events as a transaction is being executed, then
    distribute them when it has completed.

    Events can be added normally or as revert events.  Normal events are
    broadcast after the transaction is successfully committed.  Revert events
    are broadcast if the transaction failed somehow and was been reverted.
     N/A N/A implements N/A iimaginary ITransactionalEventBroadcaster __init__ N/A N/A self N/A N/A N/A N/A self _events N/A N/A N/A self _revertEvents N/A N/A addEvent N/A N/A self event N/A N/A N/A 
        Add a normal event.

        @param event: A no-argument callable to be invoked when this
        transaction has been committed.
         N/A N/A N/A callable event N/A N/A N/A ValueError Events must be callable event N/A N/A N/A N/A self _events append event N/A addRevertEvent N/A N/A self event N/A N/A N/A 
        Add a revert event.

        @param event: A no-argument callable to be invoked when this
        transaction has been reverted.
         N/A N/A N/A callable event N/A N/A N/A ValueError Events must be callable event N/A N/A N/A N/A self _revertEvents append event N/A broadcastEvents N/A N/A self N/A N/A N/A 
        Send all normal events.
         N/A events N/A self _events N/A N/A self _events N/A self _revertEvents None N/A N/A map apply events N/A broadcastRevertEvents N/A N/A self N/A N/A N/A 
        Send all revert events.
         N/A events N/A self _revertEvents N/A N/A self _events N/A self _revertEvents None N/A N/A map apply events N/A N/A runEventTransaction N/A N/A store func N/A args kwargs N/A N/A 
    This takes responsibility for setting up the transactional event
    broadcasting junk, handling action errors, and broadcasting commit or
    revert events.
     N/A broadcaster N/A TransactionalEventBroadcaster runHelper N/A N/A N/A N/A N/A N/A N/A N/A N/A context call N/A N/A iimaginary ITransactionalEventBroadcaster broadcaster func args kwargs N/A N/A N/A N/A eimaginary ActionFailure N/A e N/A N/A N/A N/A broadcaster addRevertEvent N/A N/A N/A e event reify N/A N/A N/A N/A N/A result N/A N/A store transact runHelper N/A N/A N/A N/A eimaginary ActionFailure N/A N/A N/A N/A broadcaster broadcastRevertEvents N/A None N/A N/A N/A N/A broadcaster broadcastEvents N/A result N/A ThatDoesntMakeSense N/A Event N/A N/A 
    An action was attempted which is logically impossible.
     __init__ N/A N/A self actorMessage N/A That doesn't make sense. kw N/A N/A N/A N/A N/A super ThatDoesntMakeSense self __init__ actorMessage actorMessage kw N/A N/A ThatDoesntWork N/A Event N/A N/A 
    An action was attempted which is phyically impossible.
     __init__ N/A N/A self actorMessage N/A That doesn't work. kw N/A N/A N/A N/A N/A super ThatDoesntWork self __init__ actorMessage actorMessage kw N/A N/A Success N/A Event N/A N/A 
    You do it.  Swell.
     broadcast N/A N/A self N/A N/A N/A 
        Don't really broadcast.  Add this event to the events which will be
        sent when the action (or whatever) execution transaction is committed
        successfully.
         N/A broadcaster N/A N/A context get N/A iimaginary ITransactionalEventBroadcaster N/A N/A broadcaster None N/A N/A N/A N/A broadcaster addEvent N/A N/A self reify N/A N/A N/A N/A N/A self reify N/A N/A ArrivalEvent N/A Success N/A N/A 
    An event representing the arrival of an object.
     N/A MovementArrivalEvent N/A ArrivalEvent N/A N/A 
    An event representing the arrival of an object at a location from an
    origin.
     __init__ N/A N/A self thing origin direction N/A None None N/A N/A N/A self thing thing N/A N/A self origin origin N/A N/A self direction direction N/A N/A self location N/A N/A self thing location N/A conceptFor N/A N/A self observer N/A N/A N/A N/A observer N/A self thing N/A N/A None N/A N/A N/A self origin None N/A N/A msg N/A  arrives from  N/A self origin . N/A N/A N/A N/A self direction None N/A N/A msg N/A  arrives from the  N/A self direction . N/A N/A msg N/A  arrives. N/A N/A N/A msg insert 0 N/A self thing N/A N/A N/A language Sentence msg N/A N/A DepartureEvent N/A Success N/A N/A 
    An event representing the departure of an object at a location to a
    destination.
     __init__ N/A N/A self location actor N/A kw N/A N/A 
        @type location: L{iimaginary.IThing} provider.
        @param location: The location that the actor is leaving.
        @type actor: L{iimaginary.IThing} provider.
        @param actor: The actor that is leaving.
         N/A N/A N/A N/A super DepartureEvent self __init__ location actor kw N/A N/A SpeechEvent N/A Success N/A N/A 
    An event representing something somebody said.

    @ivar speaker: The Thing which spoke.
    @ivar text: The text which was spoken.
     __init__ N/A N/A self speaker text N/A N/A N/A 
        @type speaker: L{iimaginary.IThing} provider.
        @param speaker: The actor emitting this speech.
        @type text: C{unicode}
        @param text: The text that the actor said.
         N/A N/A self speaker speaker N/A N/A self text text N/A N/A N/A Success __init__ self location N/A speaker location actor speaker actorMessage N/A You say, ' text ' otherMessage N/A N/A language Sentence N/A speaker  says, ' text ' N/A N/A