cruxlines 0.3.0

Ranks symbol definitions by cross-file references using tree-sitter.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { add, Counter, PI } from "./utils.js";
import { User, Status } from "./models.js";

function greet(name) {
  return `Hello, ${name}`;
}

const user = new User("Ada", Status.ACTIVE);
const total = add(2, 3);
const counter = new Counter(1);
counter.inc();

console.log(greet(user.name));
console.log(`total=${total}, pi=${PI}, counter=${counter.value}`);