OopsProduction class | parser.t[4519]

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

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

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

build the command

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0