0 branches
Tree
Top files
Clone with HTTPS:
comptime.v
v.gen.js: simplify comptime if; catch up with cgen (fix #25295) (#25313)
last Sep 15
881 bytes
jsdoc.v
backends: change gen.typ() to gen.styp() ; change gen.ret_typ() to gen.ret_styp() (#22597)
1 year ago
2.01 KB
jsgen_test.v
jsgen: fix Playground `@LOCATION` and `@FILE_LINE` interpolation problems (fixes #23554)
last Apr 23
4.29 KB
str.v
jsgen: fix Playground `@LOCATION` and `@FILE_LINE` interpolation problems (fixes #23554)
last Apr 23
3.9 KB
util.v
jsgen: alias types are not properly resolved (fix #24486) (fix #24507) (#24514)
1 year ago
1.41 KB
JavaScript backend
Attributes
When specified on an interface, the @[single_impl] attribute prevents any type from
implementing it.
Verbatim lines
Any lines starting with a # character will be included verbatim in the final output.
See also
A lot of important code is under the vlib/builtin/js directory. Especially
jsfns*.js.v which defines all supported built-in JavaScript types and functions.