class Rouge::Lexers::Make

Public Class Methods

functions() click to toggle source
# File lib/rouge/lexers/make.rb, line 13
def self.functions
  @functions ||= %w(
    abspath addprefix addsuffix and basename call dir error eval file
    filter filter-out findstring firstword flavor foreach if join lastword
    notdir or origin patsubst realpath shell sort strip subst suffix value
    warning wildcard word wordlist words
  )
end
new(opts={}) click to toggle source

TODO: Add support for special keywords bsd_special = %w(

include undef error warning if else elif endif for endfor

)

Calls superclass method
# File lib/rouge/lexers/make.rb, line 27
def initialize(opts={})
  super
  @shell = Shell.new(opts)
end