--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: a.token(:word_token) will return a Token object when <em>a</em> succeeds. The matched string (or the string returned by <em>a</em>, if any) is encapsulated in the token, together with the :word_token symbol and the starting index of the match.
full_name: RParsec::Parser#token
is_singleton: false
name: token
params: (kind)
visibility: public
