class Rouge::RegexLexer
def self.state(name, &b)
Define a new state for this lexer with the given name.
def self.state(name, &b) name = name.to_s state_definitions[name] = StateDSL.new(name, &b) end
def self.state(name, &b) name = name.to_s state_definitions[name] = StateDSL.new(name, &b) end