Module: Resyma::Core::RegexpOp
- Included in:
- RegexBuildVistor
- Defined in:
- lib/resyma/core/automaton/regexp.rb
Instance Method Summary collapse
- #rcat(*regexps) ⇒ Object
- #rchr(matchable) ⇒ Object
- #reps ⇒ Object
- #ror(*regexps) ⇒ Object
- #rrep(regexp) ⇒ Object
Instance Method Details
#rcat(*regexps) ⇒ Object
154 155 156 |
# File 'lib/resyma/core/automaton/regexp.rb', line 154 def rcat(*regexps) RegexpConcat.new(regexps) end |
#rchr(matchable) ⇒ Object
166 167 168 |
# File 'lib/resyma/core/automaton/regexp.rb', line 166 def rchr(matchable) RegexpSomething.new(matchable) end |
#reps ⇒ Object
170 171 172 |
# File 'lib/resyma/core/automaton/regexp.rb', line 170 def reps RegexpNothing.new end |
#ror(*regexps) ⇒ Object
158 159 160 |
# File 'lib/resyma/core/automaton/regexp.rb', line 158 def ror(*regexps) RegexpSelect.new(regexps) end |
#rrep(regexp) ⇒ Object
162 163 164 |
# File 'lib/resyma/core/automaton/regexp.rb', line 162 def rrep(regexp) RegexpRepeat.new(regexp) end |