Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aloder/tojen
/ functions
Functions
70 in github.com/aloder/tojen
⨍
Functions
70
◇
Types & classes
1
↓ 38 callers
Function
genExpr
(s ast.Expr)
gen/expr.go:29
↓ 10 callers
Function
stmt
(s ast.Stmt)
gen/stmt.go:11
↓ 9 callers
Function
blockStmt
(s *ast.BlockStmt)
gen/stmt.go:211
↓ 7 callers
Function
ident
(s *ast.Ident)
gen/expr.go:145
↓ 5 callers
Function
fieldList
(fl *ast.FieldList)
gen/stmt.go:224
↓ 5 callers
Function
genExprsCode
(s []ast.Expr)
gen/expr.go:21
↓ 5 callers
Function
stmts
(s []ast.Stmt)
gen/stmt.go:216
↓ 4 callers
Function
genExprs
(s []ast.Expr)
gen/expr.go:10
↓ 3 callers
Function
funcType
(s *ast.FuncType)
gen/type.go:9
↓ 2 callers
Function
GenerateFile
GenerateFile Generates a jennifer file given a series of bytes a package name and if you want a main function or not
gen/main.go:82
↓ 2 callers
Function
genDecl
(g *ast.GenDecl)
gen/main.go:164
↓ 2 callers
Function
identsList
(s []*ast.Ident)
gen/expr.go:131
↓ 1 callers
Function
Exec
Exec executes a golang string
run/run.go:11
↓ 1 callers
Function
arrayType
(s *ast.ArrayType)
gen/type.go:19
↓ 1 callers
Function
assignStmt
(t *ast.AssignStmt)
gen/stmt.go:95
↓ 1 callers
Function
basicLit
(b *ast.BasicLit)
gen/main.go:192
↓ 1 callers
Function
binaryExpr
(t *ast.BinaryExpr)
gen/expr.go:104
↓ 1 callers
Function
branchStmt
(t *ast.BranchStmt)
gen/stmt.go:138
↓ 1 callers
Function
callExpr
(t *ast.CallExpr)
gen/expr.go:157
↓ 1 callers
Function
caseClause
(t *ast.CaseClause)
gen/stmt.go:105
↓ 1 callers
Function
chanType
(t *ast.ChanType)
gen/expr.go:185
↓ 1 callers
Function
commClause
(t *ast.CommClause)
gen/stmt.go:125
↓ 1 callers
Function
compositeLit
(t *ast.CompositeLit)
gen/expr.go:87
↓ 1 callers
Function
declStmt
(t *ast.DeclStmt)
gen/stmt.go:58
↓ 1 callers
Function
deferStmt
(t *ast.DeferStmt)
gen/stmt.go:75
↓ 1 callers
Function
ellipsis
(t *ast.Ellipsis)
gen/expr.go:79
↓ 1 callers
Function
emptyStmt
(t *ast.EmptyStmt)
gen/stmt.go:62
↓ 1 callers
Function
exprStmt
(t *ast.ExprStmt)
gen/stmt.go:66
↓ 1 callers
Function
forStmt
(t *ast.ForStmt)
gen/stmt.go:181
↓ 1 callers
Function
formatBlock
(file []byte)
gen/formatting.go:29
↓ 1 callers
Function
formatNulls
EXPERIMENTAL
gen/formatting.go:10
↓ 1 callers
Function
formatParams
(file []byte)
gen/formatting.go:44
↓ 1 callers
Function
formatStructs
(file []byte)
gen/formatting.go:14
↓ 1 callers
Function
funcDecl
(s *ast.FuncDecl)
gen/main.go:16
↓ 1 callers
Function
funcLit
(t *ast.FuncLit)
gen/expr.go:83
↓ 1 callers
Function
genMainFunc
()
gen/main.go:126
↓ 1 callers
Function
genNewJenFile
(name string)
gen/main.go:122
↓ 1 callers
Function
goFormat
(file []byte)
gen/formatting.go:61
↓ 1 callers
Function
goStmt
(t *ast.GoStmt)
gen/stmt.go:70
↓ 1 callers
Function
ifStmt
(t *ast.IfStmt)
gen/stmt.go:153
↓ 1 callers
Function
imports
(imports []*ast.ImportSpec)
gen/main.go:53
↓ 1 callers
Function
incDecStmt
(t *ast.IncDecStmt)
gen/stmt.go:90
↓ 1 callers
Function
indexExpr
(t *ast.IndexExpr)
gen/expr.go:95
↓ 1 callers
Function
interfaceType
(s *ast.InterfaceType)
gen/type.go:26
↓ 1 callers
Function
keyValueExpr
(t *ast.KeyValueExpr)
gen/expr.go:108
↓ 1 callers
Function
labeledStmt
(t *ast.LabeledStmt)
gen/stmt.go:80
↓ 1 callers
Function
makeJenCode
(s ast.Decl)
gen/main.go:136
↓ 1 callers
Function
makeJenFileFunc
(name string, block jen.Code)
gen/main.go:149
↓ 1 callers
Function
mapType
(t *ast.MapType)
gen/expr.go:113
↓ 1 callers
Function
parenExpr
(t *ast.ParenExpr)
gen/expr.go:91
↓ 1 callers
Function
parseFile
(code []byte)
gen/main.go:155
↓ 1 callers
Function
rangeStmt
(t *ast.RangeStmt)
gen/stmt.go:201
↓ 1 callers
Function
returnStmt
(t *ast.ReturnStmt)
gen/stmt.go:100
↓ 1 callers
Function
selectStmt
(t *ast.SelectStmt)
gen/stmt.go:133
↓ 1 callers
Function
selectorExpr
(t *ast.SelectorExpr)
gen/expr.go:120
↓ 1 callers
Function
sendStmt
(t *ast.SendStmt)
gen/stmt.go:85
↓ 1 callers
Function
sliceExpr
(t *ast.SliceExpr)
gen/expr.go:165
↓ 1 callers
Function
starExpr
(t *ast.StarExpr)
gen/expr.go:98
↓ 1 callers
Function
structType
(s *ast.StructType)
gen/type.go:22
↓ 1 callers
Function
switchStmt
(t *ast.SwitchStmt)
gen/stmt.go:170
↓ 1 callers
Function
typeAssertExpr
(t *ast.TypeAssertExpr)
gen/expr.go:149
↓ 1 callers
Function
typeSpec
(s *ast.TypeSpec)
gen/main.go:177
↓ 1 callers
Function
typeSwitchStmt
(t *ast.TypeSwitchStmt)
gen/stmt.go:113
↓ 1 callers
Function
unaryExpr
(t *ast.UnaryExpr)
gen/expr.go:101
↓ 1 callers
Function
valueSpec
(s *ast.ValueSpec)
gen/main.go:181
Function
Execute
()
cmd/root.go:12
Function
GenerateFileBytes
GenerateFileBytes takes an array of bytes and transforms it into jennifer code
gen/main.go:32
Function
TestFile
(t *testing.T)
gen/file_test.go:406
Function
TestRunExec
(t *testing.T)
run/run_test.go:9
Function
main
()
main.go:5