github.com/solo-io/cue@v0.4.7/internal/core/export/testdata/labels.txtar (about)

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