OopsProductionclass | parser.t[4495]

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[4500]`

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

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

build the command

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1