class FluentPath::DSTU2::Expression

Attributes

tree[RW]

Public Class Methods

new(tree) click to toggle source
# File lib/fhir_dstu2_models/fluentpath/expression.rb, line 6
def initialize(tree)
  @tree = tree
end

Public Instance Methods

clone() click to toggle source
# File lib/fhir_dstu2_models/fluentpath/expression.rb, line 18
def clone
  clone_tree = @tree.map do |x|
    begin
      x.clone
    rescue
      x
    end
  end
  FluentPath::DSTU2::Expression.new(clone_tree)
end
inspect() click to toggle source
# File lib/fhir_dstu2_models/fluentpath/expression.rb, line 14
def inspect
  to_s
end
to_s() click to toggle source
# File lib/fhir_dstu2_models/fluentpath/expression.rb, line 10
def to_s
  @tree.to_s
end