Skip to content

Visual Studio Code, rebuilt in Rust

Rust
423 B
Raw Blame
//! TextMate tokenization, ported from vscode-textmate 9.3.2 on Oniguruma, the regex engine
//! vscode-oniguruma runs.

#![forbid(unsafe_code)]

mod grammar;
mod matcher;
pub mod plist;
mod raw;
mod registry;
mod rule;
mod theme;

pub use grammar::{Grammar, ScopeStack, StandardTokenType, State, Token};
pub use registry::Registry;
pub use theme::{BOLD, FONT_STYLE_NOT_SET, ITALIC, STRIKETHROUGH, Style, Theme, UNDERLINE};