Static
asMakes sure the given parameter is an expression join point.
If a string, returns a literal expression with the code of the string. Otherwise, returns $expression
If false and $expression is undefined, throws an exception. Otherwise, returns undefined if $expression is undefined.
Static
asStatic
asMakes sure the given parameter is a statement join point.
If a string, returns a literal statement with the code of the string. Otherwise, tries to transform the given node to a $statement
If false and code is undefined, throws an exception. Otherwise, returns undefined if code is undefined.
Static
asStatic
getStatic
visitA function that receives an $expr join point
The $type after applying the given exprFunction to its $expr nodes. If any of the fields of the type is visited, a copy of the type is returned.
Utility methods related with the type join points.