The line number in the source code where this AST’s text began.
The line number in the source code where this AST’s text ended.
Returns the original source code as an array of lines.
Note that this is an API for ruby internal use, debugging, and research. Do not use this for any other purpose. The compatibility is not guaranteed.
The line number in the source code where this AST’s text began.
The line number in the source code where this AST’s text ended.
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.
Implement the hash pattern matching interface for Result
.
Fetch the start line of the value.
Fetch the leading comments of the value.
Configure the leading comments field for this repository and return self.
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.