Back to index

python3.2  3.2.2
Functions
pgen.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

grammarmeta_grammar (void)
grammarpgen (struct _node *)

Function Documentation

Definition at line 150 of file metagrammar.c.

{
    return &_PyParser_Grammar;
}
grammar* pgen ( struct _node )

Definition at line 661 of file pgen.c.

{
    nfagrammar *gr;
    grammar *g;

    gr = metacompile(n);
    g = maketables(gr);
    translatelabels(g);
    addfirstsets(g);
    PyObject_FREE(gr);
    return g;
}

Here is the call graph for this function: