Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ define-grammar.js
File
define-grammar.js
tools/tree-sitter-tsx/define-grammar.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
JavaScript = require(
'./javascript-grammar'
);
2
3
module.exports =
function
defineGrammar(dialect) {
4
return
grammar(JavaScript, {
Callers
nothing calls this directly
Calls
7
choice
Function · 0.85
commaSep1
Function · 0.70
sepBy1
Function · 0.70
commaSep
Function · 0.70
require
Function · 0.50
field
Function · 0.50
push
Method · 0.45
Tested by
no test coverage detected