class FluentPath::STU3::Expression

Attributes

tree[RW]

Public Class Methods

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

Public Instance Methods

clone() click to toggle source
# File lib/fhir_stu3_models/fluentpath/expression.rb, line 18
def clone
  clone_tree = @tree.map do |x|
    x.clone
  rescue
    # TODO: This appears to be dead code
    x
  end
  FluentPath::STU3::Expression.new(clone_tree)
end
inspect() click to toggle source
# File lib/fhir_stu3_models/fluentpath/expression.rb, line 14
def inspect
  to_s
end
to_s() click to toggle source
# File lib/fhir_stu3_models/fluentpath/expression.rb, line 10
def to_s
  @tree.to_s
end