class Rouge::Lexers::Haxe
def self.builtins
def self.builtins @builtins ||= %w( Void Dynamic Math Class Any Float Int UInt String StringTools Sys EReg isNaN parseFloat parseInt this Array Map Date DateTools Bool Lambda Reflect Std File FileSystem ) end
def self.constants
def self.constants @constants ||= Set.new %w(true false null) end
def self.declarations
def self.declarations @declarations ||= Set.new %w( abstract dynamic extern extends from implements inline static to typedef var ) end
def self.detect?(text)
def self.detect?(text) return true if text.shebang? "haxe" end
def self.imports
def self.imports @imports ||= Set.new %w( package import using ) end
def self.keywords
def self.keywords @keywords ||= Set.new %w( as break case cast catch class continue default do else enum false for function if import in interface macro new null override package private public return switch this throw true try untyped while ) end
def self.reserved
def self.reserved @reserved ||= Set.new %w( super trace inline build autoBuild enum ) end