package main

file slice.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.IndexExpr:
                  X:
                    ast.SliceLit:
                      Elts:
                        ast.BasicLit:
                          Kind: INT
                          Value: 1
                  Index:
                    ast.BasicLit:
                      Kind: INT
                      Value: 0
        ast.ExprStmt:
          X:
            ast.CallExpr:
              Fun:
                ast.Ident:
                  Name: println
              Args:
                ast.SliceExpr:
                  X:
                    ast.SliceLit:
                      Elts:
                        ast.BasicLit:
                          Kind: INT
                          Value: 1
                  Low:
                    ast.BasicLit:
                      Kind: INT
                      Value: 0
                  High:
                    ast.BasicLit:
                      Kind: INT
                      Value: 1
        ast.ExprStmt:
          X:
            ast.CallExpr:
              Fun:
                ast.Ident:
                  Name: println
              Args:
                ast.SliceExpr:
                  X:
                    ast.SliceLit:
                      Elts:
                        ast.BasicLit:
                          Kind: INT
                          Value: 1
                        ast.BasicLit:
                          Kind: INT
                          Value: 2
                  Low:
                    ast.BasicLit:
                      Kind: INT
                      Value: 0
                  High:
                    ast.BasicLit:
                      Kind: INT
                      Value: 1
                  Max:
                    ast.BasicLit:
                      Kind: INT
                      Value: 5
        ast.AssignStmt:
          Lhs:
            ast.Ident:
              Name: a
          Tok: :=
          Rhs:
            ast.SliceLit:
              Elts:
                ast.BasicLit:
                  Kind: INT
                  Value: 1
        ast.ExprStmt:
          X:
            ast.CallExpr:
              Fun:
                ast.Ident:
                  Name: println
              Args:
                ast.IndexExpr:
                  X:
                    ast.Ident:
                      Name: a
                  Index:
                    ast.BasicLit:
                      Kind: INT
                      Value: 0
