class Rouge::Lexers::Apache
Constants
- DIRECTIVES
- SECTIONS
- VALUES
Public Instance Methods
Source
# File lib/rouge/lexers/apache.rb, line 19 def name_for_token(token, tktype) token = token.downcase return tktype if SECTIONS.include?(token) return tktype if DIRECTIVES.include?(token) return tktype if VALUES.include?(token) Text end