The full text of the binding
The style of line comments to use. Must be regex-escaped. Defaults to C-style, set to 'null' to disable line comments.
The style of block comment start tokens. Must be regex- escaped. Defaults to C-style, set to 'null' to disable block comments entirely.
The style of block comment end tokens. Must be regex-escaped. Defaults to C-style, set to 'null' to disable block comments entirely.
A string containing the comment text, or null if there wasn't a comment
Helper function to fetch globals from a leading comment string
The content of the magic comment
A list of globals found in the string.
Generated using TypeDoc
Helper function to retrieve the leading comment from a string.
This function uses C-style comments by default, but can be overridden with different characters or no support at all.