Class: Mustermann::AST::Pattern Abstract
- Inherits:
-
RegexpBased
- Object
- Pattern
- RegexpBased
- Mustermann::AST::Pattern
- Extended by:
- Forwardable, SingleForwardable
- Defined in:
- lib/mustermann/ast/pattern.rb
Overview
This class is abstract.
Superclass for pattern styles that parse an AST from the string pattern.
Instance Attribute Summary
Attributes inherited from RegexpBased
Instance Method Summary collapse
-
#expand(**values) ⇒ String
All AST-based pattern implementations support expanding.
Methods inherited from RegexpBased
Methods inherited from Pattern
#===, #=~, #initialize, #match, #named_captures, #names, new, #params, supported?, supported_options, #to_s
Constructor Details
This class inherits a constructor from Mustermann::RegexpBased
Instance Method Details
#expand(**values) ⇒ String
All AST-based pattern implementations support expanding.
82 83 84 |
# File 'lib/mustermann/ast/pattern.rb', line 82 def (**values) .(**values) end |