Glimmer::Highlight::RustLexer
Inherits Glimmer::Highlight::SimpleRegexLexer < Glimmer::Highlight::Lexer < Reference < Object
RustLexer provides syntax highlighting for Rust code.
Constants
KEYWORD_CONSTANTS = ["true", "false"] of ::String
KEYWORDS = ["as", "async", "await", "break", "const", "continue", "crate", "dyn", "else", "enum", "extern", "fn", "for", "if", "impl", "in", "let", "loop", "match", "mod", "move", "mut", "pub", "ref", "return", "self", "Self", "static", "struct", "super", "trait", "type", "unsafe", "use", "where", "while"] of ::String
Constructors
new
Source