Sha256: 481418b4e8400a5e869ffed64608d6966bacd21cd22e4bea9327dcf6d8573f2c
Contents?: true
Size: 422 Bytes
Versions: 22
Compression:
Stored size: 422 Bytes
Contents
module Ruby2JS class Converter # (while-post # (true) # (kwbegin # (...))) handle :while_post do |condition, block| block = block.updated(:begin) if block.type == :kwbegin begin next_token, @next_token = @next_token, :continue "do {#@nl#{ scope block }#@nl} while (#{ parse condition })" ensure @next_token = next_token end end end end
Version data entries
22 entries across 22 versions & 1 rubygems