Module: Parsby::Combinators

Defined Under Namespace

Modules: ModuleMethods

Instance Method Summary collapse

Methods included from ModuleMethods

define_combinator

Instance Method Details

#splicerObject



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