class Hocon::Impl::ConfigString::Unquoted
this is sort of a hack; we want to preserve whether whitespace was quoted until we process substitutions, so we can ignore unquoted whitespace when concatenating lists or objects. We dump this distinction when serializing and deserializing, but that ‘s OK because it isn’ t in equals/hashCode, and we don ‘t allow serializing unresolved objects which is where quoted-ness matters. If we later make ConfigOrigin point to the original token range, we could use that to implement wasQuoted()
Public Class Methods
Source
# File lib/hocon/impl/config_string.rb, line 42 def initialize(origin, value) super(origin, value) end
Calls superclass method
Hocon::Impl::ConfigString::new
Public Instance Methods
Source
# File lib/hocon/impl/config_string.rb, line 46 def new_copy(origin) self.class.new(origin, @value) end
Source
# File lib/hocon/impl/config_string.rb, line 50 def write_replace Hocon::Impl::SerializedConfigValue.new(self) end