-
Notifications
You must be signed in to change notification settings - Fork 153
/
cmpopts.go
47 lines (44 loc) · 2.19 KB
/
cmpopts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package asttest
// DO NOT EDIT: This file is autogenerated via the cmpgen command.
import (
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/influxdata/flux/ast"
)
var IgnoreBaseNodeOptions = []cmp.Option{
cmpopts.IgnoreFields(ast.ArrayExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.BadStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.BinaryExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.Block{}, "BaseNode"),
cmpopts.IgnoreFields(ast.BooleanLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.BuiltinStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.CallExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.ConditionalExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.DateTimeLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.DurationLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.ExpressionStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.File{}, "BaseNode"),
cmpopts.IgnoreFields(ast.FloatLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.FunctionExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.Identifier{}, "BaseNode"),
cmpopts.IgnoreFields(ast.ImportDeclaration{}, "BaseNode"),
cmpopts.IgnoreFields(ast.IndexExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.IntegerLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.LogicalExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.MemberAssignment{}, "BaseNode"),
cmpopts.IgnoreFields(ast.MemberExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.ObjectExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.OptionStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.Package{}, "BaseNode"),
cmpopts.IgnoreFields(ast.PackageClause{}, "BaseNode"),
cmpopts.IgnoreFields(ast.PipeExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.PipeLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.Property{}, "BaseNode"),
cmpopts.IgnoreFields(ast.RegexpLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.ReturnStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.StringLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.TestStatement{}, "BaseNode"),
cmpopts.IgnoreFields(ast.UnaryExpression{}, "BaseNode"),
cmpopts.IgnoreFields(ast.UnsignedIntegerLiteral{}, "BaseNode"),
cmpopts.IgnoreFields(ast.VariableAssignment{}, "BaseNode"),
}