Class: Vernacular::AST::Modifier::ParserExtension
- Inherits:
-
Struct
- Object
- Struct
- Vernacular::AST::Modifier::ParserExtension
- Defined in:
- lib/vernacular/ast/modifier.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
17 18 19 |
# File 'lib/vernacular/ast/modifier.rb', line 17 def code @code end |
#pattern ⇒ Object
Returns the value of attribute pattern
17 18 19 |
# File 'lib/vernacular/ast/modifier.rb', line 17 def pattern @pattern end |
#symbol ⇒ Object
Returns the value of attribute symbol
17 18 19 |
# File 'lib/vernacular/ast/modifier.rb', line 17 def symbol @symbol end |
Instance Method Details
#components ⇒ Object
19 20 21 |
# File 'lib/vernacular/ast/modifier.rb', line 19 def components [symbol, pattern, code] end |