Constructs a new source range from the given start and end offsets.
Constructs a new source range by finding the given character between the given start offset and end offset. If the needle is not found, it returns nil. Importantly it does not search past newlines or comments.
Note that end_offset is allowed to be nil, in which case this will search until the end of the string.
Visit a block node on a call.
Visit a heredoc that can be either a string or an xstring.
Visit a numeric node and account for the optional sign.
Within the given block, track that we’re within a pattern.
Parse a float from the string representation.
Create a new compiler with the given options.
Visit a block node, which will modify the AST by wrapping the given visited node in an iter node.
Deprecated in version 3.0. Consider using PKey::PKey#sign_raw
and PKey::PKey#verify_raw
instead.
Enables use of shared session key material in accordance with RFC 5705.
Returns the issuerNameHash of this certificate ID, the hash of the issuer’s distinguished name calculated with the hashAlgorithm.
Returns the issuerKeyHash of this certificate ID, the hash of the issuer’s public key.
Serializes the private key to DER-encoded PKCS #8 format. If called without arguments, unencrypted PKCS #8 PrivateKeyInfo format is used. If called with a cipher name and a password, PKCS #8 EncryptedPrivateKeyInfo format with PBES2 encryption scheme is used.
Serializes the public key to DER-encoded X.509 SubjectPublicKeyInfo format.
Permit block/lambda nodes to mark newlines within themselves.
Fetch the start character offset of the value.
Fetch the end character offset of the value.
Fetch the start character column of the value.
Fetch the end character column of the value.