D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
jmespath-1.3.1
/
lib
/
jmespath
/
nodes
/
Filename :
expression.rb
back
Copy
module JMESPath # @api private module Nodes class Expression < Node attr_reader :expression def initialize(expression) @expression = expression end def visit(value) self end def eval(value) @expression.visit(value) end def optimize self.class.new(@expression.optimize) end end end end