Get the response’s token info if present.
Returns the message imprint digest. For valid timestamps, this is the same value that was already given in the Request
. If status is GRANTED or GRANTED_WITH_MODS, this is never nil
.
mi = token_info.msg_imprint puts mi -> "DEADBEEF"
Set
the message imprint digest.
Returns the message imprint (digest) of the data to be timestamped.
The default encoding for Ruby files is UTF-8.
This is a hook to allow consumers to disable some warnings if they don’t want them to block creating the syntax tree.
Build a diagnostic from the given prism parse warning.
This method is provided by the Ripper
C extension. It is called when a string needs to be dedented because of a tilde heredoc. It is expected that it will modify the string in place and return the number of bytes that were removed.