// DO NOT EDIT: This file is autogenerated via the builtin command.

package gen

import (
	ast "github.com/influxdata/flux/ast"
	runtime "github.com/influxdata/flux/runtime"
)

func init() {
	runtime.RegisterPackage(pkgAST)
}

var pkgAST = &ast.Package{
	BaseNode: ast.BaseNode{
		Comments: nil,
		Errors:   nil,
		Loc:      nil,
	},
	Files: []*ast.File{&ast.File{
		BaseNode: ast.BaseNode{
			Comments: nil,
			Errors:   nil,
			Loc: &ast.SourceLocation{
				End: ast.Position{
					Column: 15,
					Line:   4,
				},
				File:   "gen.flux",
				Source: "package gen\n\n\nbuiltin tables",
				Start: ast.Position{
					Column: 1,
					Line:   1,
				},
			},
		},
		Body: []ast.Statement{&ast.BuiltinStatement{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 15,
						Line:   4,
					},
					File:   "gen.flux",
					Source: "builtin tables",
					Start: ast.Position{
						Column: 1,
						Line:   4,
					},
				},
			},
			Colon: nil,
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   4,
						},
						File:   "gen.flux",
						Source: "tables",
						Start: ast.Position{
							Column: 9,
							Line:   4,
						},
					},
				},
				Name: "tables",
			},
			Ty: ast.TypeExpression{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 125,
							Line:   4,
						},
						File:   "gen.flux",
						Source: "(n: int, ?nulls: float, ?tags: [{name: string, cardinality: int}]) => [{A with _time: time, _value: float}]",
						Start: ast.Position{
							Column: 18,
							Line:   4,
						},
					},
				},
				Constraints: []*ast.TypeConstraint{},
				Ty: &ast.FunctionType{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 125,
								Line:   4,
							},
							File:   "gen.flux",
							Source: "(n: int, ?nulls: float, ?tags: [{name: string, cardinality: int}]) => [{A with _time: time, _value: float}]",
							Start: ast.Position{
								Column: 18,
								Line:   4,
							},
						},
					},
					Parameters: []*ast.ParameterType{&ast.ParameterType{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 25,
									Line:   4,
								},
								File:   "gen.flux",
								Source: "n: int",
								Start: ast.Position{
									Column: 19,
									Line:   4,
								},
							},
						},
						Kind: "Required",
						Name: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 20,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "n",
									Start: ast.Position{
										Column: 19,
										Line:   4,
									},
								},
							},
							Name: "n",
						},
						Ty: &ast.NamedType{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 25,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "int",
									Start: ast.Position{
										Column: 22,
										Line:   4,
									},
								},
							},
							ID: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 25,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "int",
										Start: ast.Position{
											Column: 22,
											Line:   4,
										},
									},
								},
								Name: "int",
							},
						},
					}, &ast.ParameterType{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 40,
									Line:   4,
								},
								File:   "gen.flux",
								Source: "?nulls: float",
								Start: ast.Position{
									Column: 27,
									Line:   4,
								},
							},
						},
						Kind: "Optional",
						Name: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 33,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "nulls",
									Start: ast.Position{
										Column: 28,
										Line:   4,
									},
								},
							},
							Name: "nulls",
						},
						Ty: &ast.NamedType{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 40,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "float",
									Start: ast.Position{
										Column: 35,
										Line:   4,
									},
								},
							},
							ID: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 40,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "float",
										Start: ast.Position{
											Column: 35,
											Line:   4,
										},
									},
								},
								Name: "float",
							},
						},
					}, &ast.ParameterType{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 83,
									Line:   4,
								},
								File:   "gen.flux",
								Source: "?tags: [{name: string, cardinality: int}]",
								Start: ast.Position{
									Column: 42,
									Line:   4,
								},
							},
						},
						Kind: "Optional",
						Name: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 47,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "tags",
									Start: ast.Position{
										Column: 43,
										Line:   4,
									},
								},
							},
							Name: "tags",
						},
						Ty: &ast.ArrayType{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 83,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "[{name: string, cardinality: int}]",
									Start: ast.Position{
										Column: 49,
										Line:   4,
									},
								},
							},
							ElementType: &ast.RecordType{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 82,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "{name: string, cardinality: int}",
										Start: ast.Position{
											Column: 50,
											Line:   4,
										},
									},
								},
								Properties: []*ast.PropertyType{&ast.PropertyType{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 63,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "name: string",
											Start: ast.Position{
												Column: 51,
												Line:   4,
											},
										},
									},
									Name: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 55,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "name",
												Start: ast.Position{
													Column: 51,
													Line:   4,
												},
											},
										},
										Name: "name",
									},
									Ty: &ast.NamedType{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 63,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "string",
												Start: ast.Position{
													Column: 57,
													Line:   4,
												},
											},
										},
										ID: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 63,
														Line:   4,
													},
													File:   "gen.flux",
													Source: "string",
													Start: ast.Position{
														Column: 57,
														Line:   4,
													},
												},
											},
											Name: "string",
										},
									},
								}, &ast.PropertyType{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 81,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "cardinality: int",
											Start: ast.Position{
												Column: 65,
												Line:   4,
											},
										},
									},
									Name: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 76,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "cardinality",
												Start: ast.Position{
													Column: 65,
													Line:   4,
												},
											},
										},
										Name: "cardinality",
									},
									Ty: &ast.NamedType{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 81,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "int",
												Start: ast.Position{
													Column: 78,
													Line:   4,
												},
											},
										},
										ID: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 81,
														Line:   4,
													},
													File:   "gen.flux",
													Source: "int",
													Start: ast.Position{
														Column: 78,
														Line:   4,
													},
												},
											},
											Name: "int",
										},
									},
								}},
								Tvar: nil,
							},
						},
					}},
					Return: &ast.ArrayType{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 125,
									Line:   4,
								},
								File:   "gen.flux",
								Source: "[{A with _time: time, _value: float}]",
								Start: ast.Position{
									Column: 88,
									Line:   4,
								},
							},
						},
						ElementType: &ast.RecordType{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 124,
										Line:   4,
									},
									File:   "gen.flux",
									Source: "{A with _time: time, _value: float}",
									Start: ast.Position{
										Column: 89,
										Line:   4,
									},
								},
							},
							Properties: []*ast.PropertyType{&ast.PropertyType{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 108,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "_time: time",
										Start: ast.Position{
											Column: 97,
											Line:   4,
										},
									},
								},
								Name: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 102,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "_time",
											Start: ast.Position{
												Column: 97,
												Line:   4,
											},
										},
									},
									Name: "_time",
								},
								Ty: &ast.NamedType{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 108,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "time",
											Start: ast.Position{
												Column: 104,
												Line:   4,
											},
										},
									},
									ID: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 108,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "time",
												Start: ast.Position{
													Column: 104,
													Line:   4,
												},
											},
										},
										Name: "time",
									},
								},
							}, &ast.PropertyType{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 123,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "_value: float",
										Start: ast.Position{
											Column: 110,
											Line:   4,
										},
									},
								},
								Name: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 116,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "_value",
											Start: ast.Position{
												Column: 110,
												Line:   4,
											},
										},
									},
									Name: "_value",
								},
								Ty: &ast.NamedType{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 123,
												Line:   4,
											},
											File:   "gen.flux",
											Source: "float",
											Start: ast.Position{
												Column: 118,
												Line:   4,
											},
										},
									},
									ID: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 123,
													Line:   4,
												},
												File:   "gen.flux",
												Source: "float",
												Start: ast.Position{
													Column: 118,
													Line:   4,
												},
											},
										},
										Name: "float",
									},
								},
							}},
							Tvar: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 91,
											Line:   4,
										},
										File:   "gen.flux",
										Source: "A",
										Start: ast.Position{
											Column: 90,
											Line:   4,
										},
									},
								},
								Name: "A",
							},
						},
					},
				},
			},
		}},
		Eof:      nil,
		Imports:  nil,
		Metadata: "parser-type=rust",
		Name:     "gen.flux",
		Package: &ast.PackageClause{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 12,
						Line:   1,
					},
					File:   "gen.flux",
					Source: "package gen",
					Start: ast.Position{
						Column: 1,
						Line:   1,
					},
				},
			},
			Name: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 12,
							Line:   1,
						},
						File:   "gen.flux",
						Source: "gen",
						Start: ast.Position{
							Column: 9,
							Line:   1,
						},
					},
				},
				Name: "gen",
			},
		},
	}},
	Package: "gen",
	Path:    "internal/gen",
}
