This function tries to parse the given expression in multiple modes and returns the first successful
RootResult. By default it tries 'typescript', 'closure' and 'jsdoc' in this order. If
no mode was successful it throws the error that was produced by the last parsing attempt.
This function tries to parse the given expression in multiple modes and returns the first successful RootResult. By default it tries
'typescript'
,'closure'
and'jsdoc'
in this order. If no mode was successful it throws the error that was produced by the last parsing attempt.