Method: Puppet::Parser::Lexer::TokenList#lookup
- Defined in:
- lib/vendor/puppet/parser/lexer.rb
#lookup(string) ⇒ Object
Look up a token by its value, rather than name.
92 93 94 |
# File 'lib/vendor/puppet/parser/lexer.rb', line 92 def lookup(string) @tokens_by_string[string] end |