# File lib/rouge/regex_lexer.rb, line 407 def goto(state_name) raise 'empty stack!' if stack.empty? puts " going to state :#{state_name} " if @debug stack[-1] = get_state(state_name) end