Python content parser

Type (or just copy&paste) Python code in the box below to parse its contents. The result will be a JSON object containing all the nodes in the given code. It is also possible the make POST request directly to this address and give the code in POST parameters code and mode.

The result will contain the leaf nodes of this ontology. The ontology is based on the nodes available in Python's AST.

The following parsing modes are available:

Parsing mode: