MCPcopy Index your code
hub / github.com/eknkc/pug

github.com/eknkc/pug @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
474 symbols 1,167 edges 15 files 39 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Expression (Interface)
(no doc) [13 implementers]
compiler/ast.go
Dir (Interface)
A Dir implements FileSystem using the native file system restricted to a specific directory tree. While the FileSystem.O
compiler/dir.go
Option (FuncType)
Option is a function that can set an option on the parser. It returns the previous setting as an Option.
compiler/parser.go
Context (Interface)
(no doc) [1 implementers]
compiler/context.go
Node (Interface)
(no doc) [1 implementers]
compiler/ast.go
Cloner (Interface)
Cloner is implemented by any value that has a Clone method, which returns a copy of the value. This is mainly used for t
compiler/parser.go

Core symbols most depended-on inside this repo

Compile
called by 72
compiler/ast.go
NewNode
called by 55
compiler/ast.go
pos
called by 51
compiler/parser.go
write
called by 49
compiler/context.go
Error
called by 35
compiler/parser.go
in
called by 23
compiler/parser.go
out
called by 23
compiler/parser.go
toSlice
called by 21
compiler/parser.go

Shape

Method 309
Function 85
Struct 62
TypeAlias 12
Interface 5
FuncType 1

Languages

Go100%

Modules by API surface

compiler/parser.go267 symbols
compiler/ast.go60 symbols
pug_test.go39 symbols
compiler/context.go33 symbols
compiler/ast_compile.go33 symbols
runtime/runtime.go11 symbols
pug.go8 symbols
compiler/dir.go6 symbols
runtime/helpers.go5 symbols
runtime/stack.go4 symbols
runtime/cast.go4 symbols
pugc/pugc.go2 symbols

For agents

$ claude mcp add pug \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact