Class: Fear::Extractor::Grammar::TypedIdentifier Private
- Inherits:
-
Node
- Object
- Treetop::Runtime::SyntaxNode
- Node
- Fear::Extractor::Grammar::TypedIdentifier
- 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
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.
162 163 164 165 |
# File 'lib/fear/extractor/grammar.rb', line 162 def to_matcher identifier, type = elements.values_at(0, 2) type.to_matcher.and(identifier.to_matcher) end |