class Rouge::TemplateLexer

def parent

the parent lexer - the one being templated.
def parent
  return @parent if instance_variable_defined? :@parent
  @parent = lexer_option(:parent) || Lexers::HTML.new(@options)
end