MCPcopy Create free account
hub / github.com/dglo/java2go / TransformMainArgs

Function TransformMainArgs

parser/transform.go:201–229  ·  view source on GitHub ↗

transform "func main(String[] xxx)" to "func main()" and all "xxx" references to "os.Args"

(parent GoObject, prog *GoProgram, cls GoClass,
	object GoObject)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

addImportMethod · 0.80
hasVariableMethod · 0.65
SetGoNameMethod · 0.65

Tested by

no test coverage detected