MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_exported_of

Method is_exported_of

codegraph-kernel/src/lua.rs:410–416  ·  view source on GitHub ↗

isExported (luau.ts:23) — the raw 7-unit slice is an ASCII prefix test.

(&self, node: Node<'t>)

Source from the content-addressed store, hash-verified

408
409 /// isExported (luau.ts:23) — the raw 7-unit slice is an ASCII prefix test.
410 fn is_exported_of(&self, node: Node<'t>) -> Option<bool> {
411 if self.is_luau {
412 Some(self.text(node).starts_with("export "))
413 } else {
414 None
415 }
416 }
417
418 // --- the main walk (visitNode, tree-sitter.ts:936-1303) ---------------
419

Callers 3

extract_functionMethod · 0.80
extract_variableMethod · 0.80
extract_type_aliasMethod · 0.80

Calls 1

textMethod · 0.45

Tested by

no test coverage detected