libhanzzok 0.1.5

Hanzzok compiler library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use self::{
    key::KeyInlineConstructorRule, key_combo::KeyComboInlineConstructorRule,
    system_text::SystemTextDecoratorRule,
};

use super::Plugin;

mod key;
mod key_combo;
mod system_text;

#[cfg_attr(target_arch = "wasm32", wasm_bindgen::prelude::wasm_bindgen)]
pub fn input_guide_plugin() -> Plugin {
    Plugin::new()
        .with_decorator(SystemTextDecoratorRule)
        .with_inline_constructor(KeyInlineConstructorRule)
        .with_inline_constructor(KeyComboInlineConstructorRule)
}