Crates.io | mutant-kraken-macros |
lib.rs | mutant-kraken-macros |
version | 0.1.1 |
source | src |
created_at | 2024-07-01 16:18:28.586176 |
updated_at | 2024-07-01 17:02:05.345682 |
description | Procedural macros for mutant-kraken |
homepage | |
repository | https://github.com/JosueMolinaMorales/mutant-kraken |
max_upload_size | |
id | 1288818 |
size | 7,034 |
This crate contains the procedural macros used to generate the KotlinTypes
enum used in the mutant-kraken
project. The KotlinTypes
enum is used to represent the different types of nodes in the kotlin-tree-sitter
AST.
To use the KotlinTypes
enum in your project, add the following to your Cargo.toml
:
[dependencies]
mutant-kraken-macros = "0.1.0"
Then, add the following to your Rust file:
use mutant_kraken_macros;
mutant_kraken_macros::generate_kotlin_types_enum!();
This will generate the KotlinTypes
enum in your project, which you can then use to represent the different types of nodes in the kotlin-tree-sitter
AST.
This project is part of the mutant-kraken
project. For more information, please see the main project repository.