module Dhall::Parser::NumericDoubleLiteral

Public Instance Methods

value() click to toggle source
# File lib/dhall/parser.rb, line 228
def value
        float = string.to_f
        raise Citrus::ParseError, input if float.nan? || float.infinite?
        Double.new(value: float)
end