.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CTAGS-LANG-JAVASCRIPT" 7 "" "6.1.0" "Universal Ctags" .SH NAME ctags-lang-javascript \- Random notes about tagging JavaScript source code with Universal Ctags .SH SYNOPSIS .nf \fBctags\fP ... \-\-languages=+JavaScript ... \fBctags\fP ... \-\-language\-force=JavaScript ... \fBctags\fP ... \-\-map\-JavaScript=+.js ... .fi .sp .SH DESCRIPTION .sp This man page gathers random notes about tagging JavaScript source code. .SH CLASSES .sp ES6 introduced the \fBclass\fP keyword, but there is still the original method of defining a function and attaching a \fBprototype\fP\&. ctags follows the convention that function names that start with a capital letter are class constructors. .SS Change since \(dq0.0\(dq .INDENT 0.0 .IP \(bu 2 New role \fBforeigndecl\fP for \fBfunction\fP kind .UNINDENT .SH SEE ALSO .sp ctags(1), ctags\-client\-tools(7) .\" Generated by docutils manpage writer. .