gramprod.h file | source file

The header defines the GrammarProd intrinsic class and some associated properties and constants.

Summary of Classes

`GrammarProd`

Summary of Global Functions

(none)

Summary of Macros

`GramTokTypeLiteral GramTokTypeNSpeech GramTokTypeProd GramTokTypeSpeech GramTokTypeStar GramTokTypeTokEnum`

Summary of Enums

(none)

Summary of Templates

(none)

Global Functions

(none)

Macros

`GramTokTypeLiteral` | `gramprod.h[134]`

`3 /* token matches a literal string */`
no description available

`GramTokTypeNSpeech` | `gramprod.h[137]`

`6 /* matches any of several parts of speech */`
no description available

`GramTokTypeProd` | `gramprod.h[132]`

`1 /* token matches a sub-production */`
Token slot types. Each token slot in an alternative has a type, which determines what it matches in an input token list. getGrammarInfo() returns these type codes in the GrammarAltTokInfo objects.

`GramTokTypeSpeech` | `gramprod.h[133]`

`2 /* token matches a specific part of speech */`
no description available

`GramTokTypeStar` | `gramprod.h[136]`

`5 /* token matches all remaining input tokens */`
no description available

`GramTokTypeTokEnum` | `gramprod.h[135]`

`4 /* token matches a token class enum */`
no description available

Enums

(none)

Templates

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3