module Dhall::Parser::DoubleQuoteLiteral

Public Instance Methods

value() click to toggle source
# File lib/dhall/parser.rb, line 254
def value
        TextLiteral.for(
                *captures(:double_quote_chunk)
                .map(&:value)
                .chunk { |s| s.is_a?(String) }
                .flat_map do |(strs, group)|
                        strs ? group.join : group
                end
        )
end