JSCoverage
code coverage for JavaScript

Bug #37 - Instrumenting e4x causes: jscoverage:filename:983: unsupported node type (73)

Submitted by: Philipp Kewisch
Date submitted: 2011-07-24 07:37:17 UTC
Status: Open
I'm attempting to instrument a project that makes extensive use of e4x. Every
file that contains an e4x statement like:

let etag = multistatus..D::getetag;

or even:

let linkifiedText = <p/>;

Cause one of the error messages:

jscoverage:filename:983: unsupported node type (73)
jscoverage:filename:62: unsupported node type (75)
Submitted by: Ed
Date submitted: 2011-07-24 10:08:44 UTC
Yes, unfortunately JSCoverage cannot handle anything beyond ECMA-262 3rd edition.
Submitted by: Philipp Kewisch
Date submitted: 2011-07-24 15:45:19 UTC
Here's a partial patch, not made to be complete and probably nowhere near good
style, but it "just works" for my use case. Maybe someone can make more out of this.
Attachment: e4x.diff

Add a comment

Your name:
Your email address (optional - will never be displayed):
Comment:
Attachment (optional - maximum 64 KiB):
Copyright © 2008 Silicon Forks siliconforks.com
siliconforks@siliconforks.com