mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-19 14:23:11 -06:00
the class PgfConcr from the Python binding now has a property name which returns the name of the concrete syntax
This commit is contained in:
1 parent
d124fa9a12
commit
6a36ce77ff
3 files changed
+24
-1
No files matched your search
@@ -109,6 +109,12 @@ pgf_get_language(PgfPGF* pgf, PgfCId lang)
|
||||
return gu_map_get(pgf->concretes, &lang, PgfConcr*);
|
||||
}
|
||||
|
||||
GuString
|
||||
pgf_concrete_name(PgfConcr* concr)
|
||||
{
|
||||
return concr->name;
|
||||
}
|
||||
|
||||
void
|
||||
pgf_iter_categories(PgfPGF* pgf, GuMapItor* fn, GuExn* err)
|
||||
{
|
||||
|
||||
@@ -91,6 +91,9 @@ pgf_iter_languages(PgfPGF*, GuMapItor*, GuExn* err);
|
||||
PgfConcr*
|
||||
pgf_get_language(PgfPGF*, PgfCId lang);
|
||||
|
||||
GuString
|
||||
pgf_concrete_name(PgfConcr*);
|
||||
|
||||
void
|
||||
pgf_iter_categories(PgfPGF* pgf, GuMapItor* fn, GuExn* err);
|
||||
|
||||
|
||||
Reference in new issue
Block a user