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

Method is_exported_of

codegraph-kernel/src/lua.rs:413–419  ·  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

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

Callers 4

extract_functionMethod · 0.80
extract_variableMethod · 0.80
extract_type_aliasMethod · 0.80

Calls 1

textMethod · 0.65

Tested by

no test coverage detected