Class: Mutant::Expression::Namespace
- Inherits:
-
Mutant::Expression
- Object
- Mutant::Expression
- Mutant::Expression::Namespace
- Includes:
- AbstractType
- Defined in:
- lib/mutant/expression/namespace.rb
Overview
Abstract base class for expressions matching namespaces
Defined Under Namespace
Constant Summary
Constants inherited from Mutant::Expression
METHOD_NAME_PATTERN, REGISTRY, SCOPE_NAME_PATTERN, SCOPE_PATTERN
Instance Attribute Summary
Attributes inherited from Mutant::Expression
Instance Method Summary collapse
-
#matcher(cache) ⇒ Matcher
private
Return matcher.
Methods inherited from Mutant::Expression
#initialize, #match_length, parse
Constructor Details
This class inherits a constructor from Mutant::Expression
Instance Method Details
#matcher(cache) ⇒ Matcher
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.
Return matcher
15 16 17 |
# File 'lib/mutant/expression/namespace.rb', line 15 def matcher(cache) self.class::MATCHER.new(cache, namespace) end |