LocationPrepProductionclass | parser.t[4374]

A LocationPrepProduction is a special Production type for phrases that encode the preposition of a locational phrase. This is only needed in languages that use prepositional grammar to express location relationships. For languages that use noun case inflection, the relationship will have to be inferred from the case grammar of the noun phrase (such as noun affixes or articles), and the noun phrase production will have to set the locType in the LocationalProduction.

Set the locType property to the LocType object corresponding to the location relationship of the preposition.

`class LocationPrepProduction : Production`

Superclass Tree (in declaration order)

`LocationPrepProduction`
`Production`
`object`

Subclass Tree

`LocationPrepProduction`
`locationPrep(from)`
`locationPrep(in)`
`locationPrep(on)`

Global Objects

(none)

Summary of Properties

`locType`

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

Summary of Methods

`build`

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

Properties

`locType` | `parser.t[4376]`

our location relationship type, as a LocType object

Methods

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

on building the production, set the locType in our LocationalProduction parent

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2