6.1.1.2.1.1.2.13. pycropml.transpiler.antlr_py.to_CASG module¶
- pycropml.transpiler.antlr_py.to_CASG.to_CASG(dictree)[source]¶
Transform CST provided from ANTLR parsers into a common language ASG
- Parameters:
filePath (Path) – path of the class
- Returns:
A common Abstract Semantic Graph CASG of a specific language
- Return type:
- pycropml.transpiler.antlr_py.to_CASG.to_dictASG(code, language, comments=None, env=None)[source]¶
Transform CST provided from ANTLR parsers into a common language ASG
- Parameters:
filePath (Path) – path of the class
- Returns:
A common Abstract Semantic Graph CASG of a specific language in dict format
- Return type: