class Rouge::Lexers::Awk
def self.builtins
def self.builtins @builtins ||= %w( exp log sqrt sin cos atan2 length rand srand int substr index match split sub gsub sprintf system tolower toupper ) end
def self.constants
def self.constants @constants ||= Set.new %w( CONVFMT FS NF NR FNR FILENAME RS OFS ORS OFMT SUBSEP ARGC ARGV ENVIRON ) end
def self.declarations
def self.declarations @declarations ||= Set.new %w(function) end
def self.detect?(text)
def self.detect?(text) return true if text.shebang?('awk') end
def self.keywords
def self.keywords @keywords ||= Set.new %w( if else while for do break continue return next nextfile delete exit print printf getline ) end
def self.reserved
def self.reserved @reserved ||= Set.new %w(BEGIN END) end