LiteralTActionclass | action.t[4942], en_us.t[8698] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
The grammar rules that produce these actions must set dobjMatch to the resolvable object of the command, and must set literalMatch to the literal phrase's match tree. Note that we use dobjMatch as the resolvable object even if the object serves grammatically as the indirect object - this is a simplification, and the true grammatical purpose of the object isn't important since there's only one true object in the command.
When referring to objects by role (such as in remapTo), callers should ALWAYS refer to the resolvable object as DirectObject, and the literal phrase as IndirectObject.
Each subclass must set the property whichMessageLiteral to the grammatical role (DirectObject, IndirectObject) the literal phrase plays for message generation purposes. This only affects messages; it doesn't affect anything else; in particular, regardless of the whichMessageLiteral setting, callers should always refer to the literal as IndirectObject when calling getObjectForRole() and the like, and should always call getDobj() to get the resolved version of the resolvable object phrase.
Modified in en_us.t[8698]:
English-specific additions for verbs of a direct object and a literal phrase.
class
LiteralTAction : LiteralActionBase TAction
(none)
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from LiteralTAction
LiteralActionBase
object
TAction
Action
BasicProd
object
Resolver
object
LiteralTAction
EnterOnAction
predicate(EnterOn)
predicate(EnterOnWhat)
SetToAction
predicate(SetTo)
TurnToAction
predicate(TurnTo)
TypeLiteralOnAction
predicate(TypeLiteralOn)
predicate(TypeLiteralOnWhat)
predicateNounPhrases
whichMessageLiteral
whichMessageObject
whichObject
LiteralActionBase
:
text_
TAction
:
actionAllowsAll
actionDobjProp
actor_
askDobjResponseProd
checkDobjProp
dobjCur_
dobjInfoCur_
dobjList_
dobjMatch
dobjResolver_
issuer_
preCondDobjProp
remapDobjProp
verDobjProp
Action
:
actionTime
afterActionMainList
beforeAfterObjs
defaultForRecursion
extraMessageParams
implicitMsg
includeInUndo
isImplicit
isRepeatable
iterationCanceled
originalAction
parentAction
preCond
remappedFrom
showDefaultReports
synthParamID
verbFlags
verifiedOkay
Resolver
:
action_
equivs_
isGlobalScope
isSubResolver
scope_
announceDefaultObject
getCurrentObjects
getMatchForRole
getObjectForRole
getOtherMessageObjectPronoun
getOtherObjectRole
getQuestionInf
getRoleFromIndex
getVerbPhrase
initForMissingDobj
initForMissingLiteral
resolveNouns
retryWithMissingLiteral
setCurrentObjects
setObjectMatches
setResolvedObjects
whatObj
LiteralActionBase
:
getLiteral
getMessageParam
TAction
:
announceAllDefaultObjects
checkAction
checkRemapping
construct
createDobjResolver
createForMissingDobj
createForRetry
doActionMain
execAction
filterAmbiguousDobj
filterPluralDobj
getAllDobj
getDefaultDobj
getDobj
getDobjInfo
getDobjResolver
getPreCondDescList
getPreCondPropForRole
getRemapPropForRole
getResolvedDobjList
getResolveInfo
getVerbPhrase1
getVerifyPropForRole
initResolver
initTentative
resetAction
resolvedObjectsInScope
retryWithAmbiguousDobj
retryWithMissingDobj
testRetryDefaultDobj
verifyAction
Action
:
actionOfKind
addBeforeAfterObj
afterAction
afterActionMain
announceActionObject
beforeAction
beforeActionMain
callAfterActionMain
callCatchAllProp
callPreConditions
callVerifyPreCond
callVerifyProp
cancelIteration
checkPreConditions
combineRemappedVerifyResults
createActionFrom
createActionInstance
doAction
doActionOnce
filterAmbiguousWithVerify
filterFacets
filterPluralWithVerify
finishResolveList
getAnaphoricBinding
getDefaultWithVerify
getEnteredVerbPhrase
getImplicitPhrase
getInfPhrase
getNotifyTable
getObjPreCondDescList
getObjPreConditions
getOriginalAction
getParticiplePhrase
getPredicate
getRemappedFrom
getSimpleSynonymRemap
getSortedVerifyResults
isConversational
isNestedIn
isPartOf
isRemapped
makeResolveInfoList
maybeAnnounceDefaultObject
maybeAnnounceImplicit
maybeAnnounceMultiObject
noMatch
notifyBeforeAfter
objListPronoun
preAnnounceActionObject
recalcSenseContext
repeatAction
resolveAction
setImplicit
setMessageParam
setMessageParams
setNested
setOriginalAction
setRemapped
spPrefix
spSuffix
synthMessageParam
verifyHandlersExist
whatTranslate
withVerifyResults
zeroActionTime
BasicProd
:
filterPossRank
getOrigText
getOrigTokenList
Resolver
:
allowAll
cacheScopeList
filterAll
filterAmbiguousEquivalents
filterAmbiguousNounPhrase
filterPluralPhrase
getAction
getAll
getAllDefaults
getDefaultObject
getPossessiveResolver
getPronounDefault
getQualifierResolver
getRawPronounAntecedent
getReflexiveBinding
getScopeList
getTargetActor
matchName
objInScope
resetResolver
resolvePronounAntecedent
resolveUnknownNounPhrase
selectIndefinite
withGlobals
predicateNounPhrases OVERRIDDEN | action.t[4984] |
whichMessageLiteral | action.t[5111] |
whichMessageObject OVERRIDDEN | action.t[5137] |
whichObject OVERRIDDEN | action.t[5125] |
announceDefaultObject (obj, whichObj, resolvedAllObjects) OVERRIDDEN | en_us.t[8699] |
getCurrentObjects ( ) OVERRIDDEN | action.t[5048] |
getMatchForRole (role) OVERRIDDEN | action.t[5014] |
getObjectForRole (role) OVERRIDDEN | action.t[5004] |
getOtherMessageObjectPronoun (which) | en_us.t[8733] |
getOtherObjectRole (role) OVERRIDDEN | action.t[4997] |
getQuestionInf (which) OVERRIDDEN | en_us.t[8718] |
getRoleFromIndex (idx) OVERRIDDEN | action.t[4987] |
getVerbPhrase (inf, ctx) OVERRIDDEN | en_us.t[8767] |
initForMissingDobj (orig) OVERRIDDEN | action.t[5084] |
initForMissingLiteral (orig) | action.t[5096] |
resolveNouns (issuingActor, targetActor, results) OVERRIDDEN | action.t[4946] |
retryWithMissingLiteral (orig) | action.t[5066] |
This routine terminates with 'exit' if it doesn't throw some other error.
setCurrentObjects (lst) OVERRIDDEN | action.t[5051] |
setObjectMatches (dobj, lit) OVERRIDDEN | action.t[5034] |
setResolvedObjects (dobj, txt) OVERRIDDEN | action.t[5024] |
whatObj (which) OVERRIDDEN | en_us.t[8712] |