General Information
Tutorials
Reference Manuals
Libraries
Translation Tasks
Tools
Administration
|
Tasks related to generating outputPTG Output for Leaf Nodes
The module The module does not have generic parameters. It is used by writing $/Output/LeafPtg.fwin a .specs file.
The computations of this module yield an attribute
The required computation of the ATTR Sym: int; SYMBOL T COMPUTE SYNT.Sym = TERM; END; There are the following symbol roles for different output representations:
SYMBOL T INHERITS IdPtg END; T.Sym must refer to an identifier or a string then T.Ptg
represents the same identifier or character sequence of the string in
the output.
SYMBOL T INHERITS CStringPtg END; T.Sym must refer to a string, then T.Ptg represents its
value as a C string literal.
SYMBOL T INHERITS PStringPtg END; T.Sym must refer to a string, then T.Ptg represents its
value as a Pascal string literal.
SYMBOL T INHERITS NumPtg END; T.Sym must represent an integral number, then T.Ptg
represents that number.
The module uses some PTG patterns from the module
Please note that this module may become outdated in future Eli-Versions.
In new specifications use the module |