Class: Fear::Extractor::Grammar::NamedArraySplat Private
- Inherits:
-
Node
- Object
- Treetop::Runtime::SyntaxNode
- Node
- Fear::Extractor::Grammar::NamedArraySplat
- Defined in:
- lib/fear/extractor/grammar.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #name ⇒ Object private
- #to_matcher ⇒ Object private
Instance Method Details
#name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
146 147 148 |
# File 'lib/fear/extractor/grammar.rb', line 146 def name text_value[1..-1].to_sym end |
#to_matcher ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
142 143 144 |
# File 'lib/fear/extractor/grammar.rb', line 142 def to_matcher NamedArraySplatMatcher.new(name: name, node: self) end |