OopsProduction class | parser.t[4558]

An OopsProduction is a subclass for the word list part of an OOPS command. This must have a ->toks_ property that holds the sub-tree for the literal token list of the correction.

`class OopsProduction : Production`

Superclass Tree (in declaration order)

`OopsProduction`
`Production`
`object`

Subclass Tree

`OopsProduction`
`oopsPhrase(main)`

Global Objects

(none)

Summary of Properties

``

Inherited from `Production` :
`determiner nounPhraseRole npClass parent`

Summary of Methods

`applyCorrection build`

Inherited from `Production` :
`addNounListItem findAction findChild findParent getNounPhraseRole getText getTokens grammarInfoForBuild isChildOf noteEndOfSentence visitLiteral visitProd`

Properties

(none)

Methods

`applyCorrection (prod, toks, typoIdx)` | `parser.t[4563]`

Class method: apply the correction for an OOPS command to an original token list.

`build (cmd, np)`OVERRIDDEN | `parser.t[4580]`

build the command

Adv3Lite Library Reference Manual
Generated on 26/02/2025 from adv3Lite version 2.2