class Rouge::Lexers::SuperCollider
Public Class Methods
Source
# File lib/rouge/lexers/supercollider.rb, line 27 def self.constants @constants ||= Set.new %w( true false nil inf thisThread thisMethod thisFunction thisProcess thisFunctionDef currentEnvironment topEnvironment ) end
Source
# File lib/rouge/lexers/supercollider.rb, line 12 def self.keywords @keywords ||= Set.new %w( var arg classvar const super this ) end
Source
# File lib/rouge/lexers/supercollider.rb, line 21 def self.reserved @reserved ||= Set.new %w( case do for forBy loop if while new newCopyArgs ) end
these aren’t technically keywords, but we treat them as such because it makes things clearer 99% of the time