asterisk 0.1.0

Universal language-agnostic AST walking and accurate call stack generation with tree-sitter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub struct Animal {
    name: String,
    species: String,
}

impl Animal {
    pub fn new(name: String, species: String) -> Self {
        Animal { name, species }
    }

    pub fn introduce(&self) {
        println!("Hi, my name is {} and I'm a {}.", self.name, self.species);
    }

    pub fn celebrate_birthday(&self) {
        println!("{} is celebrating another year!", self.name);
    }
}