Module: ShEx::Algebra::ReferencedStatement

Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex/algebra/triple_expression.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#referencedShEx::Algebra::ShapeExpression

Returns referenced operand which satisfied some of this statement.

Returns:



75
76
77
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex/algebra/triple_expression.rb', line 75

def referenced
  @referenced
end

Instance Method Details

#to_sxp_binObject



77
78
79
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/shex-f64040a493d0/lib/shex/algebra/triple_expression.rb', line 77

def to_sxp_bin
  referenced ? super + [referenced.to_sxp_bin] : super
end