cmake-parser 0.1.0-beta.1

The library to parse cmake language.
Documentation
1
2
3
4
5
6
7
8
9
10
use cmake_parser_derive::CMake;

use crate::Token;

#[derive(CMake, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cmake(pkg = "crate", positional)]
pub struct Property<'t> {
    pub prop: Token<'t>,
    pub value: Token<'t>,
}