class Yoda::Typing::Context::TraceStore::ParserNodeWrapper
Attributes
node[R]
@return [::Parser::AST::Node]
Public Class Methods
new(node)
click to toggle source
@param node [::Parser::AST::Node]
# File lib/yoda/typing/context.rb, line 78 def initialize(node) @node = node end
Public Instance Methods
eql?(another)
click to toggle source
@param another [Object]
# File lib/yoda/typing/context.rb, line 83 def eql?(another) another.is_a?(ParserNodeWrapper) && node == another.node && node.location == another.node.location end
hash()
click to toggle source
# File lib/yoda/typing/context.rb, line 89 def hash [node, node.location].hash end