Method: Puppet::Pops::Parser::Lexer2#lex_token

Defined in:
lib/puppet/pops/parser/lexer2.rb

#lex_tokenObject

This lexes one token at the current position of the scanner. PERFORMANCE NOTE: Any change to this logic should be performance measured.



732
733
734
# File 'lib/puppet/pops/parser/lexer2.rb', line 732

def lex_token
  @selector[@scanner.peek(1)].call
end