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 / funcdecl1 / parser.expect
Size: Mime:
package main

file fndecl.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.FuncLit:
                  Type:
                    ast.FuncType:
                      Params:
                        ast.FieldList:
                      Results:
                        ast.FieldList:
                          List:
                            ast.Field:
                              Type:
                                ast.Ident:
                                  Name: int
                            ast.Field:
                              Type:
                                ast.Ident:
                                  Name: int
                  Body:
                    ast.BlockStmt:
                      List:
                        ast.ReturnStmt:
                          Results:
                            ast.BasicLit:
                              Kind: INT
                              Value: 1
                            ast.BasicLit:
                              Kind: INT
                              Value: 1