class Rouge::Lexers::Stata
Constants
Public Class Methods
Source
# File lib/rouge/lexers/stata.rb, line 89 def self.reserved_keywords @reserved_keywords ||= Set.new %w(if else foreach forv forva forval forvalu forvalue forvalues to while in of continue break nobreak) end
Stata
commands used with braces. Includes all valid abbreviations for ‘forvalues’.
Source
# File lib/rouge/lexers/stata.rb, line 84 def self.type_keywords @type_keywords ||= Set.new %w(byte int long float double str strL numeric string integer scalar matrix local global numlist varlist newlist) end
Note: types ‘str1-str2045` handled separately below