class Rouge::RegexLexer::StateDSL

def mixin(state)

to the rest of the rules in this state.
from the mixed-in state will be tried in order before moving on
Mix in the rules from another state into this state. The rules
def mixin(state)
  rules << state.to_s
end