code-search-cli 0.3.3

Intelligent code search tool for tracing text (UI text, function names, variables) to implementation code
Documentation
1
2
3
4
5
6
7
8
9
10
use yaml_rust::scanner::Scanner;

fn main() {
    let s = "key: value";
    let mut scanner = Scanner::new(s.chars());
    while let Some(token) = scanner.next_token().unwrap() {
        println!("{:?}", token.0.line); // marker.line
        println!("{:?}", token.1); // token type
    }
}