module languages.tree_string_listener
¶
Short summary¶
module pyensae.languages.tree_string_listener
Helpers around language grammar. This module requires antlr4.
Classes¶
class |
truncated documentation |
---|---|
This class is an attempt to run through the tree and convert it into a string. |
Methods¶
method |
truncated documentation |
---|---|
constructor |
|
usual |
|
event |
|
event |
|
event |
|
event |
Documentation¶
Helpers around language grammar. This module requires antlr4.
- class pyensae.languages.tree_string_listener.TreeStringListener(parser)¶
Bases:
ParseTreeListener
This class is an attempt to run through the tree and convert it into a string.
constructor
- Parameters:
parser – parser used to parse the code
- __init__(parser)¶
constructor
- Parameters:
parser – parser used to parse the code
- __str__()¶
usual
- enterEveryRule(ctx)¶
event
- exitEveryRule(ctx)¶
event
- visitErrorNode(node)¶
event
- visitTerminal(node)¶
event