as2fm.as2fm_common.ecmascript_interpretation
Module for interpreting ecmascript.
Functions
|
Generate a string starting from an AST node |
|
Reads a string as an EcmaScript expression and returns it as an ArrayExpression. |
|
Reads a string as an EcmaScript expression and returns it as a Dict of ast expressions. |
|
Evaluate if an ECMAscript expression contains access to an array element. |
|
Evaluate if an ECMAscript expression contains access to an member element. |
|
Evaluate if an ECMAscript expression contains unary, binary, logical or function operators. |
|
Evaluate if the expression contains only a literal (or an array expression). |
|
Helper function to generate an empty array expression. |
|
Interpret a string of ecmacript expression and get the type that is evaluates to. |
|
Parse the string using esprima. |
|
Expand a Member expression into a list, distinguishing between member and array accesses. |
Classes
Placeholder type for ArrayAccess operator call in expanded Member expression. |
Exceptions
Exception type thrown when there are error expanding a Member expression. |