moco.moco_common.ecmascript_interpretation.parse_expression_to_ast

moco.moco_common.ecmascript_interpretation.parse_expression_to_ast(expression: str, elem: _Element) Node

Parse the string using esprima. Return the AST of it’s main body.

AST = Abstract Syntax Tree