representation of the information in .pgf files in a format we can process
More...
|
| Pgf () |
| dummy default constructor for bindings More...
|
|
| Pgf (const QString &fileName, const QString &concreteName=QString()) |
| constructor, loads concrete syntax from .pgf file More...
|
|
representation of the information in .pgf files in a format we can process
Definition at line 52 of file pgf.h.
◆ Pgf() [1/2]
dummy default constructor for bindings
Definition at line 54 of file pgf.h.
◆ Pgf() [2/2]
DynGenPar::Pgf::Pgf |
( |
const QString & |
fileName, |
|
|
const QString & |
concreteName = QString() |
|
) |
| |
constructor, loads concrete syntax from .pgf file
Loads a .pgf file from disk and imports it into a format we can process.
Only one concrete grammar is loaded. If the .pgf file contains more than one concrete grammar, the name of the concrete grammar to load must be specified (otherwise a fatal error is raised).
Definition at line 602 of file pgf.cpp.
◆ catNames
QStringList DynGenPar::Pgf::catNames |
names of categories, in general not unique
Definition at line 59 of file pgf.h.
◆ componentNames
QHash<QString, QStringList> DynGenPar::Pgf::componentNames |
names of category components
Definition at line 64 of file pgf.h.
◆ firstFunction
int DynGenPar::Pgf::firstFunction |
the function ID of the first non-coercion function
Definition at line 65 of file pgf.h.
◆ functionNames
QStringList DynGenPar::Pgf::functionNames |
names of functions, in general not unique
Definition at line 60 of file pgf.h.
◆ pmcfg
Pmcfg DynGenPar::Pgf::pmcfg |
the PMCFG (in (almost) standard form)
Definition at line 58 of file pgf.h.
◆ suffixes
QList<QPair<QString, int> > DynGenPar::Pgf::suffixes |
list of &+ suffixes with their IDs
Definition at line 62 of file pgf.h.
◆ tokenHash
QHash<QString, int> DynGenPar::Pgf::tokenHash |
hash table for quick token lexing
Definition at line 61 of file pgf.h.
The documentation for this struct was generated from the following files: