MCPcopy Create free account

hub / github.com/aloder/tojen / functions

Functions70 in github.com/aloder/tojen

↓ 38 callersFunctiongenExpr
(s ast.Expr)
gen/expr.go:29
↓ 10 callersFunctionstmt
(s ast.Stmt)
gen/stmt.go:11
↓ 9 callersFunctionblockStmt
(s *ast.BlockStmt)
gen/stmt.go:211
↓ 7 callersFunctionident
(s *ast.Ident)
gen/expr.go:145
↓ 5 callersFunctionfieldList
(fl *ast.FieldList)
gen/stmt.go:224
↓ 5 callersFunctiongenExprsCode
(s []ast.Expr)
gen/expr.go:21
↓ 5 callersFunctionstmts
(s []ast.Stmt)
gen/stmt.go:216
↓ 4 callersFunctiongenExprs
(s []ast.Expr)
gen/expr.go:10
↓ 3 callersFunctionfuncType
(s *ast.FuncType)
gen/type.go:9
↓ 2 callersFunctionGenerateFile
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 callersFunctiongenDecl
(g *ast.GenDecl)
gen/main.go:164
↓ 2 callersFunctionidentsList
(s []*ast.Ident)
gen/expr.go:131
↓ 1 callersFunctionExec
Exec executes a golang string
run/run.go:11
↓ 1 callersFunctionarrayType
(s *ast.ArrayType)
gen/type.go:19
↓ 1 callersFunctionassignStmt
(t *ast.AssignStmt)
gen/stmt.go:95
↓ 1 callersFunctionbasicLit
(b *ast.BasicLit)
gen/main.go:192
↓ 1 callersFunctionbinaryExpr
(t *ast.BinaryExpr)
gen/expr.go:104
↓ 1 callersFunctionbranchStmt
(t *ast.BranchStmt)
gen/stmt.go:138
↓ 1 callersFunctioncallExpr
(t *ast.CallExpr)
gen/expr.go:157
↓ 1 callersFunctioncaseClause
(t *ast.CaseClause)
gen/stmt.go:105
↓ 1 callersFunctionchanType
(t *ast.ChanType)
gen/expr.go:185
↓ 1 callersFunctioncommClause
(t *ast.CommClause)
gen/stmt.go:125
↓ 1 callersFunctioncompositeLit
(t *ast.CompositeLit)
gen/expr.go:87
↓ 1 callersFunctiondeclStmt
(t *ast.DeclStmt)
gen/stmt.go:58
↓ 1 callersFunctiondeferStmt
(t *ast.DeferStmt)
gen/stmt.go:75
↓ 1 callersFunctionellipsis
(t *ast.Ellipsis)
gen/expr.go:79
↓ 1 callersFunctionemptyStmt
(t *ast.EmptyStmt)
gen/stmt.go:62
↓ 1 callersFunctionexprStmt
(t *ast.ExprStmt)
gen/stmt.go:66
↓ 1 callersFunctionforStmt
(t *ast.ForStmt)
gen/stmt.go:181
↓ 1 callersFunctionformatBlock
(file []byte)
gen/formatting.go:29
↓ 1 callersFunctionformatNulls
EXPERIMENTAL
gen/formatting.go:10
↓ 1 callersFunctionformatParams
(file []byte)
gen/formatting.go:44
↓ 1 callersFunctionformatStructs
(file []byte)
gen/formatting.go:14
↓ 1 callersFunctionfuncDecl
(s *ast.FuncDecl)
gen/main.go:16
↓ 1 callersFunctionfuncLit
(t *ast.FuncLit)
gen/expr.go:83
↓ 1 callersFunctiongenMainFunc
()
gen/main.go:126
↓ 1 callersFunctiongenNewJenFile
(name string)
gen/main.go:122
↓ 1 callersFunctiongoFormat
(file []byte)
gen/formatting.go:61
↓ 1 callersFunctiongoStmt
(t *ast.GoStmt)
gen/stmt.go:70
↓ 1 callersFunctionifStmt
(t *ast.IfStmt)
gen/stmt.go:153
↓ 1 callersFunctionimports
(imports []*ast.ImportSpec)
gen/main.go:53
↓ 1 callersFunctionincDecStmt
(t *ast.IncDecStmt)
gen/stmt.go:90
↓ 1 callersFunctionindexExpr
(t *ast.IndexExpr)
gen/expr.go:95
↓ 1 callersFunctioninterfaceType
(s *ast.InterfaceType)
gen/type.go:26
↓ 1 callersFunctionkeyValueExpr
(t *ast.KeyValueExpr)
gen/expr.go:108
↓ 1 callersFunctionlabeledStmt
(t *ast.LabeledStmt)
gen/stmt.go:80
↓ 1 callersFunctionmakeJenCode
(s ast.Decl)
gen/main.go:136
↓ 1 callersFunctionmakeJenFileFunc
(name string, block jen.Code)
gen/main.go:149
↓ 1 callersFunctionmapType
(t *ast.MapType)
gen/expr.go:113
↓ 1 callersFunctionparenExpr
(t *ast.ParenExpr)
gen/expr.go:91
↓ 1 callersFunctionparseFile
(code []byte)
gen/main.go:155
↓ 1 callersFunctionrangeStmt
(t *ast.RangeStmt)
gen/stmt.go:201
↓ 1 callersFunctionreturnStmt
(t *ast.ReturnStmt)
gen/stmt.go:100
↓ 1 callersFunctionselectStmt
(t *ast.SelectStmt)
gen/stmt.go:133
↓ 1 callersFunctionselectorExpr
(t *ast.SelectorExpr)
gen/expr.go:120
↓ 1 callersFunctionsendStmt
(t *ast.SendStmt)
gen/stmt.go:85
↓ 1 callersFunctionsliceExpr
(t *ast.SliceExpr)
gen/expr.go:165
↓ 1 callersFunctionstarExpr
(t *ast.StarExpr)
gen/expr.go:98
↓ 1 callersFunctionstructType
(s *ast.StructType)
gen/type.go:22
↓ 1 callersFunctionswitchStmt
(t *ast.SwitchStmt)
gen/stmt.go:170
↓ 1 callersFunctiontypeAssertExpr
(t *ast.TypeAssertExpr)
gen/expr.go:149
↓ 1 callersFunctiontypeSpec
(s *ast.TypeSpec)
gen/main.go:177
↓ 1 callersFunctiontypeSwitchStmt
(t *ast.TypeSwitchStmt)
gen/stmt.go:113
↓ 1 callersFunctionunaryExpr
(t *ast.UnaryExpr)
gen/expr.go:101
↓ 1 callersFunctionvalueSpec
(s *ast.ValueSpec)
gen/main.go:181
FunctionExecute
()
cmd/root.go:12
FunctionGenerateFileBytes
GenerateFileBytes takes an array of bytes and transforms it into jennifer code
gen/main.go:32
FunctionTestFile
(t *testing.T)
gen/file_test.go:406
FunctionTestRunExec
(t *testing.T)
run/run_test.go:9
Functionmain
()
main.go:5