...

Text file src/cuelang.org/go/internal/core/export/testdata/main/labels.txtar

Documentation: cuelang.org/go/internal/core/export/testdata/main

     1-- in.cue --
     2package foo
     3
     4#def:   int
     5"#def": int
     6_def:   int
     7_#def:  int
     8
     9a: {
    10	#def:   int
    11	"#def": int
    12	_def:   int
    13	_#def:  int
    14}
    15-- out/definition --
    16package foo
    17
    18#def:   int
    19"#def": int
    20_def:   int
    21_#def:  int
    22a: {
    23	#def:   int
    24	"#def": int
    25	_def:   int
    26	_#def:  int
    27}
    28-- out/doc --
    29[]
    30[#def]
    31["#def"]
    32[_def]
    33[_#def]
    34[a]
    35[a #def]
    36[a "#def"]
    37[a _def]
    38[a _#def]
    39-- out/value --
    40== Simplified
    41{
    42	"#def": int
    43	a: {
    44		"#def": int
    45	}
    46}
    47== Raw
    48{
    49	#def:   int
    50	"#def": int
    51	_def:   int
    52	_#def:  int
    53	a: {
    54		#def:   int
    55		"#def": int
    56		_def:   int
    57		_#def:  int
    58	}
    59}
    60== Final
    61{
    62	"#def": int
    63	a: {
    64		"#def": int
    65	}
    66}
    67== All
    68{
    69	#def:   int
    70	"#def": int
    71	_def:   int
    72	_#def:  int
    73	a: {
    74		#def:   int
    75		"#def": int
    76		_def:   int
    77		_#def:  int
    78	}
    79}
    80== Eval
    81{
    82	#def:   int
    83	"#def": int
    84	a: {
    85		#def:   int
    86		"#def": int
    87	}
    88}

View as plain text