Class: Fear::Extractor::Grammar::Identifier Private
- Inherits:
-
Node
- Object
- Treetop::Runtime::SyntaxNode
- Node
- Fear::Extractor::Grammar::Identifier
- 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.
132 133 134 |
# File 'lib/fear/extractor/grammar.rb', line 132 def to_matcher IdentifierMatcher.new(name: 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.
136 137 138 |
# File 'lib/fear/extractor/grammar.rb', line 136 def value text_value.to_sym end |