class Rouge::Lexers::Matlab
Public Class Methods
builtins()
click to toggle source
# File lib/rouge/lexers/matlab.rb, line 20 def self.builtins # Load Matlab keywords from separate YML file @builtins ||= ::YAML.load_file(File.join(__dir__, 'matlab/builtins.yml')).tap do |a| Set.new a end end
keywords()
click to toggle source
# File lib/rouge/lexers/matlab.rb, line 13 def self.keywords @keywords = Set.new %w( break case catch classdef continue else elseif end for function global if otherwise parfor persistent return spmd switch try while ) end