Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lunixbochs/og
/ functions
Functions
50 in github.com/lunixbochs/og
⨍
Functions
50
◇
Types & classes
3
↓ 4 callers
Function
bareCall
(n int)
examples/try/basic.go:21
↓ 4 callers
Function
call
(n int)
examples/try/basic.go:12
↓ 3 callers
Function
CodeBytes
(fset *token.FileSet, node interface{})
ast.go:65
↓ 3 callers
Function
exitStatus
(err error)
util.go:10
↓ 2 callers
Method
Default
(cmd string)
og.go:35
↓ 2 callers
Function
FilterAst
(top ast.Node, callback func(n ast.Node) bool)
ast.go:73
↓ 2 callers
Function
GetBlock
(node ast.Node)
ast.go:11
↓ 2 callers
Function
GetCmdFiles
(cmd string)
build.go:30
↓ 2 callers
Method
Init
()
build.go:22
↓ 2 callers
Function
ParseAst
(fset *token.FileSet, f *ast.File)
parse.go:12
↓ 2 callers
Method
ParseBuild
(cmd string, args ...string)
build.go:58
↓ 2 callers
Function
ParseFile
(filename string)
parse.go:42
↓ 2 callers
Method
Print
(fset *token.FileSet)
ast.go:53
↓ 2 callers
Method
RelPath
(path string)
og.go:68
↓ 2 callers
Method
RewriteBuild
(steps []*BuildStep)
build.go:113
↓ 2 callers
Method
RunBuild
(steps []*BuildStep)
build.go:133
↓ 2 callers
Function
Selector
(name string)
plugin_try.go:40
↓ 2 callers
Function
next
(n int)
examples/try/basic.go:8
↓ 1 callers
Function
AppendTryBlock
(block []ast.Stmt, node ast.Node, errBlock []ast.Stmt)
plugin_try.go:190
↓ 1 callers
Function
BuildFuncReturn
(f *ast.FuncDecl)
plugin_try.go:90
↓ 1 callers
Function
BuildTryBlock
(f *ast.FuncDecl, node *ast.CallExpr)
plugin_try.go:115
↓ 1 callers
Method
CmdBuild
()
og.go:119
↓ 1 callers
Method
CmdGen
()
og.go:135
↓ 1 callers
Method
CmdHelp
()
og.go:148
↓ 1 callers
Method
CmdParse
()
og.go:174
↓ 1 callers
Method
CmdRun
()
og.go:185
↓ 1 callers
Method
CmdUpdate
()
og.go:199
↓ 1 callers
Method
Dispatch
(cmd string)
og.go:40
↓ 1 callers
Function
EnsureNoTry
(f *ast.File)
plugin_try.go:243
↓ 1 callers
Method
Exec
(cmd string, args ...string)
og.go:63
↓ 1 callers
Function
FuncReturnsError
(decl *ast.FuncDecl)
plugin_try.go:55
↓ 1 callers
Method
Gen
(outdir string)
og.go:96
↓ 1 callers
Method
GenFiles
(outdir string, rel bool, names ...string)
og.go:75
↓ 1 callers
Method
GetBuildFiles
(steps []*BuildStep)
build.go:42
↓ 1 callers
Function
GetTryCall
(node ast.Node)
plugin_try.go:220
↓ 1 callers
Function
NewOg
(args []string, dir string)
og.go:21
↓ 1 callers
Function
ParentFunc
(tree *NodeTree)
plugin_try.go:71
↓ 1 callers
Function
ParseDir
(src, dst string)
parse.go:16
↓ 1 callers
Function
ParseTry
(fset *token.FileSet, f *ast.File)
plugin_try.go:265
↓ 1 callers
Method
SearchParent
(callback func(*NodeTree) bool)
ast.go:38
↓ 1 callers
Function
SplitArgs
(args []string)
main.go:7
↓ 1 callers
Function
StripTry
(node *ast.CallExpr)
plugin_try.go:18
↓ 1 callers
Function
WalkAst
(node ast.Node, callback func(tree *NodeTree) bool)
ast.go:61
↓ 1 callers
Function
escapeFilename
(name string)
util.go:24
Function
BlockDefinesSymbol
(block []ast.Stmt, name string)
plugin_try.go:83
Function
GetTryForce
(node *ast.CallExpr)
plugin_try.go:25
Method
Visit
(node ast.Node)
ast.go:27
Function
main
()
main.go:14
Function
main
()
examples/try/basic.go:26
Function
main
()
examples/try/errors.go:3