Module: Bmg::Operator::Nary
Instance Attribute Summary collapse
-
#operands ⇒ Object
readonly
Returns the value of attribute operands.
Attributes included from Bmg::Operator
Instance Method Summary collapse
Methods included from Bmg::Operator
Methods included from Relation
#debug, #delete, empty, #empty?, #insert, new, #one, #one_or_nil, #to_ast, #to_json, #update, #visit, #with_typecheck, #without_typecheck, #ys_by_x
Methods included from Algebra
#allbut, #autosummarize, #autowrap, #constants, #extend, #group, #image, #join, #matching, #not_matching, #page, #project, #rename, #restrict, #spied, #union, #unspied
Methods included from Algebra::Shortcuts
Instance Attribute Details
#operands ⇒ Object (readonly)
Returns the value of attribute operands.
62 63 64 |
# File 'lib/bmg/operator.rb', line 62 def operands @operands end |
Instance Method Details
#_visit(parent, visitor) ⇒ Object
64 65 66 67 |
# File 'lib/bmg/operator.rb', line 64 def _visit(parent, visitor) visitor.call(self, parent) operands.each{|op| op._visit(self, visitor) } end |