Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
gop / usr / lib / gop / parser / _testdata / cmdlinestyle1 / parser.expect
Size: Mime:
package main

file cmd.gop
noEntrypoint
ast.FuncDecl:
  Name:
    ast.Ident:
      Name: main
  Type:
    ast.FuncType:
      Params:
        ast.FieldList:
  Body:
    ast.BlockStmt:
      List:
        ast.ExprStmt:
          X:
            ast.CallExpr:
              Fun:
                ast.Ident:
                  Name: println
              Args:
                ast.BinaryExpr:
                  X:
                    ast.ParenExpr:
                      X:
                        ast.BinaryExpr:
                          X:
                            ast.BasicLit:
                              Kind: INT
                              Value: 1
                          Op: +
                          Y:
                            ast.BasicLit:
                              Kind: IMAG
                              Value: 2i
                  Op: *
                  Y:
                    ast.BasicLit:
                      Kind: INT
                      Value: 2