Class: Vernacular::ASTModifier::ParserExtension
- Inherits:
-
Struct
- Object
- Struct
- Vernacular::ASTModifier::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
14 15 16 |
# File 'lib/vernacular/ast_modifier.rb', line 14 def code @code end |
#pattern ⇒ Object
Returns the value of attribute pattern
14 15 16 |
# File 'lib/vernacular/ast_modifier.rb', line 14 def pattern @pattern end |
#symbol ⇒ Object
Returns the value of attribute symbol
14 15 16 |
# File 'lib/vernacular/ast_modifier.rb', line 14 def symbol @symbol end |
Instance Method Details
#components ⇒ Object
16 17 18 |
# File 'lib/vernacular/ast_modifier.rb', line 16 def components [symbol, pattern, code] end |