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

Method is_exported_of

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

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

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