Responsible for finding the nearest targets to the given comment within the context of the given encapsulating node.
Fetch the end line of the value.
Fetch the start byte offset of the value.
Fetch the start byte column of the value.
Build a diagnostic from the given prism parse error.
Build the parser gem AST from the prism AST.
Build a range from a prism location.
Returns true if there is a semicolon between the two locations.
Returns true if other
is a subdomain.
Example:
domain = Resolv::DNS::Name.create("y.z") p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false
Verifies each certificate in chain
has signed the following certificate and is valid for the given time
.
Extracts the certificate chain from the spec
and calls verify
to ensure the signatures and certificate chain is valid according to the policy..
We want to use the same linker that Ruby uses, so that the linker flags from mkmf work properly.