class Rouge::Lexers::SQF
Public Class Methods
commands()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 56 def self.commands Kernel::load File.join(Lexers::BASE_DIR, "sqf/keywords.rb") commands end
constants()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 31 def self.constants @constants ||= Set.new %w( true false player confignull controlnull displaynull grpnull locationnull netobjnull objnull scriptnull tasknull teammembernull ) end
controlflow()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 24 def self.controlflow @controlflow ||= Set.new %w( if then else exitwith switch do case default while for from to step foreach ) end
diag_commands()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 45 def self.diag_commands @diag_commands ||= Set.new %w( diag_activemissionfsms diag_activesqfscripts diag_activesqsscripts diag_activescripts diag_captureframe diag_captureframetofile diag_captureslowframe diag_codeperformance diag_drawmode diag_enable diag_enabled diag_fps diag_fpsmin diag_frameno diag_lightnewload diag_list diag_log diag_logslowframe diag_mergeconfigfile diag_recordturretlimits diag_setlightnew diag_ticktime diag_toggle ) end
initializers()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 18 def self.initializers @initializers ||= Set.new %w( private param params ) end
namespaces()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 38 def self.namespaces @namespaces ||= Set.new %w( currentnamespace missionnamespace parsingnamespace profilenamespace uinamespace ) end
wordoperators()
click to toggle source
# File lib/rouge/lexers/sqf.rb, line 12 def self.wordoperators @wordoperators ||= Set.new %w( and or not ) end