1 2 3 4 5 6 7 8 9 10 11 12
use crate::records::cst_node::CstNode; impl CstNode { pub const fn new(class_index: i32) -> Self { Self { class_index } } } #[allow(non_snake_case)] pub fn cst_node_cst_node(class_index: i32) -> CstNode { CstNode::new(class_index) }