js2coffee
Version:
JavaScript to CoffeeScript compiler
14 lines (9 loc) • 385 B
text/coffeescript
TransformerBase = require('./base')
module.exports = class extends TransformerBase
###
# Produce warnings when using labels. It may be a JSON string being pasted.
###
LabeledStatement: (node, parent) ->
@syntaxError node, "Labeled statements are not supported in CoffeeScirpt"
WithStatement: (node) ->
@syntaxError node, "'with' is not supported in CoffeeScript"