Class: BELParser::Expression::Filter
- Inherits:
-
Object
- Object
- BELParser::Expression::Filter
- Defined in:
- lib/bel_parser/expression/filter.rb
Overview
Constant Summary collapse
- TYPES =
Represents BEL expression node types.
[ :simple_statement, :observed_term, :nested_statement, :term, :parameter ]
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(ast_enum) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
Instance Method Details
#each(&block) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/bel_parser/expression/filter.rb', line 22 def each(&block) if block_given? @ast_filter.each(&block) else enum_for(:each) end end |