Dispatch enter and leave events for InstanceVariableReadNode
nodes and continue walking the tree.
Check that a method is callable via dRuby.
obj
is the object we want to invoke the method on. msg_id
is the method name, as a Symbol
.
If the method is an insecure method (see insecure_method?
) a SecurityError
is thrown. If the method is private or undefined, a NameError
is thrown.
Returns whether the request may have a body:
Net::HTTP::Post.new(uri).request_body_permitted? # => true Net::HTTP::Get.new(uri).request_body_permitted? # => false
Compile a EnsureNode
node
Compile a StatementsNode
node
Dispatch enter and leave events for EnsureNode
nodes and continue walking the tree.
Dispatch enter and leave events for StatementsNode
nodes and continue walking the tree.
Copy a EnsureNode
node
Visit a StatementsNode
node.