class Rouge::Lexers::Mojo
def self.builtins
def self.builtins @builtins ||= super + %w( __mlir_attr __mlir_type __mlir_op parameter alwaysinline register_passable ) end
def self.detect?(text)
def self.detect?(text) return true if text.shebang?(/mojow?(?:[23](?:\.\d+)?)?/) end
def self.keywords
def self.keywords @keywords ||= super + %w( fn self alias inout borrowed owned ref var struct trait raises with in match case ) end