...
1
2
3 package jmespath
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[ASTEmpty-0]
12 _ = x[ASTComparator-1]
13 _ = x[ASTCurrentNode-2]
14 _ = x[ASTExpRef-3]
15 _ = x[ASTFunctionExpression-4]
16 _ = x[ASTField-5]
17 _ = x[ASTFilterProjection-6]
18 _ = x[ASTFlatten-7]
19 _ = x[ASTIdentity-8]
20 _ = x[ASTIndex-9]
21 _ = x[ASTIndexExpression-10]
22 _ = x[ASTKeyValPair-11]
23 _ = x[ASTLiteral-12]
24 _ = x[ASTMultiSelectHash-13]
25 _ = x[ASTMultiSelectList-14]
26 _ = x[ASTOrExpression-15]
27 _ = x[ASTAndExpression-16]
28 _ = x[ASTNotExpression-17]
29 _ = x[ASTPipe-18]
30 _ = x[ASTProjection-19]
31 _ = x[ASTSubexpression-20]
32 _ = x[ASTSlice-21]
33 _ = x[ASTValueProjection-22]
34 }
35
36 const _astNodeType_name = "ASTEmptyASTComparatorASTCurrentNodeASTExpRefASTFunctionExpressionASTFieldASTFilterProjectionASTFlattenASTIdentityASTIndexASTIndexExpressionASTKeyValPairASTLiteralASTMultiSelectHashASTMultiSelectListASTOrExpressionASTAndExpressionASTNotExpressionASTPipeASTProjectionASTSubexpressionASTSliceASTValueProjection"
37
38 var _astNodeType_index = [...]uint16{0, 8, 21, 35, 44, 65, 73, 92, 102, 113, 121, 139, 152, 162, 180, 198, 213, 229, 245, 252, 265, 281, 289, 307}
39
40 func (i astNodeType) String() string {
41 if i < 0 || i >= astNodeType(len(_astNodeType_index)-1) {
42 return "astNodeType(" + strconv.FormatInt(int64(i), 10) + ")"
43 }
44 return _astNodeType_name[_astNodeType_index[i]:_astNodeType_index[i+1]]
45 }
46
View as plain text