Module: Parsby::Combinators
- Extended by:
- Combinators, ModuleMethods
- Included in:
- Parsby, Combinators, Example::ArithmeticParser, Example::CsvParser, Example::JsonParser, Example::LispParser
- Defined in:
- lib/parsby/combinators.rb
Defined Under Namespace
Modules: ModuleMethods
Instance Method Summary collapse
- #splicer ⇒ Object
-
#token(name) ⇒ Object
Makes a token with the given name.
Methods included from ModuleMethods
Instance Method Details
#splicer ⇒ Object
184 185 186 |
# File 'lib/parsby/combinators.rb', line 184 def splicer Parsby::Splicer end |
#token(name) ⇒ Object
Makes a token with the given name.
380 381 382 |
# File 'lib/parsby/combinators.rb', line 380 def token(name) Parsby::Token.new name end |