Class: Fear::Extractor::Grammar::SymbolLiteral Private
- Inherits:
-
Node
- Object
- Treetop::Runtime::SyntaxNode
- Node
- Fear::Extractor::Grammar::SymbolLiteral
- 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
- #to_matcher ⇒ Object private
- #value ⇒ Object private
Instance Method Details
#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.
96 97 98 |
# File 'lib/fear/extractor/grammar.rb', line 96 def to_matcher ValueMatcher.new(value: value, node: self) end |
#value ⇒ 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.
100 101 102 |
# File 'lib/fear/extractor/grammar.rb', line 100 def value elements[1].value.to_sym end |