Initial commit: rustytokens — native codebase indexer + MCP server

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
endergebnisandCopilot committed 2026-09-04 02:43:00 +02:00
commit 354132e887
43 files changed
+3783

No files matched your search

+1
View File
@@ -0,0 +1 @@
int c_dead(void) { return 0; }
+5
View File
@@ -0,0 +1,5 @@
#include "util.h"
int main(void) {
return helper();
}
+3
View File
@@ -0,0 +1,3 @@
#include "util.h"
int helper(void) { return 0; }
+1
View File
@@ -0,0 +1 @@
int helper(void);
+5
View File
@@ -0,0 +1,5 @@
#include "math.hpp"
int main() {
return Math::add(1, 2);
}
+13
View File
@@ -0,0 +1,13 @@
#include "math.hpp"
Math::Math(int scale) : scale_(scale) {
scale_ = scale;
}
Math::~Math() {
scale_ = 0;
}
int Math::add(int a, int b) { return a + b; }
int Math::scaled(int v) const { return v * scale_; }
+11
View File
@@ -0,0 +1,11 @@
#pragma once
class Math {
public:
Math(int scale);
~Math();
static int add(int a, int b);
int scaled(int v) const;
private:
int scale_;
};
+1
View File
@@ -0,0 +1 @@
console.log("hi");
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src="app.js"></script>
</head>
<body>
<h1>Hello</h1>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
body { color: red; }
+5
View File
@@ -0,0 +1,5 @@
package demo;
public class Dead {
public static void unused() {}
}
+15
View File
@@ -0,0 +1,15 @@
package demo;
import demo.Util;
public class Main {
private final int seed;
public Main(int seed) {
this.seed = seed;
}
public static void main(String[] args) {
System.out.println(Util.helper());
}
}
+5
View File
@@ -0,0 +1,5 @@
package demo;
public class Util {
public static int helper() { return 42; }
}
+2
View File
@@ -0,0 +1,2 @@
def py_dead():
return 0
+5
View File
@@ -0,0 +1,5 @@
from util import helper
def run():
return helper()
+2
View File
@@ -0,0 +1,2 @@
def helper():
return 1
+1
View File
@@ -0,0 +1 @@
pub fn totally_dead() {}
+5
View File
@@ -0,0 +1,5 @@
pub mod util;
pub fn add(a: i32, b: i32) -> i32 {
a + b
}
+5
View File
@@ -0,0 +1,5 @@
use rustdemo::add;
fn main() {
println!("{}", add(2, 3));
}
+3
View File
@@ -0,0 +1,3 @@
pub fn helper() -> String {
"ok".to_string()
}
+3
View File
@@ -0,0 +1,3 @@
import { b } from "./b";
export const a = 1;
+3
View File
@@ -0,0 +1,3 @@
import { a } from "./a";
export const b = a;