File: withpointer.txtar

package info (click to toggle)
golang-github-cue-lang-cue 0.12.0.-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,072 kB
  • sloc: sh: 57; makefile: 17
file content (79 lines) | stat: -rw-r--r-- 1,535 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#includePointers
-- file.cue --
package p

a: b
b: 3
-- out/debugprint/file.cue --
*ast.File@XXXX{
	Filename: "file.cue"
	Decls: []ast.Decl{
		*ast.Package@XXXX{
			PackagePos: token.Pos("file.cue:1:1", nospace)
			Name: *ast.Ident@XXXX{
				NamePos: token.Pos("file.cue:1:9", blank)
				Name: "p"
			}
		}
		*ast.Field@XXXX{
			Label: *ast.Ident@XXXX{
				NamePos: token.Pos("file.cue:3:1", section)
				Name: "a"
			}
			Optional: token.Pos("-")
			Constraint: token.Token("ILLEGAL")
			TokenPos: token.Pos("file.cue:3:2", nospace)
			Token: token.Token(":")
			Value: *ast.Ident@XXXX{
				NamePos: token.Pos("file.cue:3:4", blank)
				Name: "b"
				Node: @XXXX (ast.BasicLit)
			}
			Attrs: []*ast.Attribute{}
		}
		*ast.Field@XXXX{
			Label: *ast.Ident@XXXX{
				NamePos: token.Pos("file.cue:4:1", newline)
				Name: "b"
			}
			Optional: token.Pos("-")
			Constraint: token.Token("ILLEGAL")
			TokenPos: token.Pos("file.cue:4:2", nospace)
			Token: token.Token(":")
			Value: *ast.BasicLit@XXXX{
				ValuePos: token.Pos("file.cue:4:4", blank)
				Kind: token.Token("INT")
				Value: "3"
			}
			Attrs: []*ast.Attribute{}
		}
	}
	Imports: []*ast.ImportSpec{}
}
-- out/debugprint/file.cue/omitempty-strings --
*ast.File{
	Filename: "file.cue"
	Decls: []ast.Decl{
		*ast.Package{
			Name: *ast.Ident{
				Name: "p"
			}
		}
		*ast.Field{
			Label: *ast.Ident{
				Name: "a"
			}
			Value: *ast.Ident{
				Name: "b"
			}
		}
		*ast.Field{
			Label: *ast.Ident{
				Name: "b"
			}
			Value: *ast.BasicLit{
				Value: "3"
			}
		}
	}
}