Class: Calyx::Syntax::Modifier
- Inherits:
-
Struct
- Object
- Struct
- Calyx::Syntax::Modifier
- Defined in:
- lib/calyx/syntax/expression.rb
Instance Attribute Summary collapse
-
#map_dir ⇒ Object
Returns the value of attribute map_dir.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#map_dir ⇒ Object
Returns the value of attribute map_dir
16 17 18 |
# File 'lib/calyx/syntax/expression.rb', line 16 def map_dir @map_dir end |
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/calyx/syntax/expression.rb', line 16 def name @name end |
#type ⇒ Object
Returns the value of attribute type
16 17 18 |
# File 'lib/calyx/syntax/expression.rb', line 16 def type @type end |
Class Method Details
.filter(name) ⇒ Object
17 18 19 |
# File 'lib/calyx/syntax/expression.rb', line 17 def self.filter(name) new(:filter, name, nil) end |
.map_left(name) ⇒ Object
21 22 23 |
# File 'lib/calyx/syntax/expression.rb', line 21 def self.map_left(name) new(:map, name, :left) end |
.map_right(name) ⇒ Object
25 26 27 |
# File 'lib/calyx/syntax/expression.rb', line 25 def self.map_right(name) new(:map, name, :right) end |