Generating ASTs
Example function
def my_custom_ast(self):
data = """
// Put code here!
// int main() {int i[5][7];}
"""
ast = self.parser.parse(data)
print(ast.to_graph_viz_str())
def my_custom_ast(self):
data = """
// Put code here!
// int main() {int i[5][7];}
"""
ast = self.parser.parse(data)
print(ast.to_graph_viz_str())