...

Source file src/pkg/cmd/compile/internal/gc/types.go

     1	// Copyright 2009 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	package gc
     6	
     7	import (
     8		"cmd/compile/internal/types"
     9	)
    10	
    11	// convenience constants
    12	const (
    13		Txxx = types.Txxx
    14	
    15		TINT8    = types.TINT8
    16		TUINT8   = types.TUINT8
    17		TINT16   = types.TINT16
    18		TUINT16  = types.TUINT16
    19		TINT32   = types.TINT32
    20		TUINT32  = types.TUINT32
    21		TINT64   = types.TINT64
    22		TUINT64  = types.TUINT64
    23		TINT     = types.TINT
    24		TUINT    = types.TUINT
    25		TUINTPTR = types.TUINTPTR
    26	
    27		TCOMPLEX64  = types.TCOMPLEX64
    28		TCOMPLEX128 = types.TCOMPLEX128
    29	
    30		TFLOAT32 = types.TFLOAT32
    31		TFLOAT64 = types.TFLOAT64
    32	
    33		TBOOL = types.TBOOL
    34	
    35		TPTR       = types.TPTR
    36		TFUNC      = types.TFUNC
    37		TSLICE     = types.TSLICE
    38		TARRAY     = types.TARRAY
    39		TSTRUCT    = types.TSTRUCT
    40		TCHAN      = types.TCHAN
    41		TMAP       = types.TMAP
    42		TINTER     = types.TINTER
    43		TFORW      = types.TFORW
    44		TANY       = types.TANY
    45		TSTRING    = types.TSTRING
    46		TUNSAFEPTR = types.TUNSAFEPTR
    47	
    48		// pseudo-types for literals
    49		TIDEAL = types.TIDEAL
    50		TNIL   = types.TNIL
    51		TBLANK = types.TBLANK
    52	
    53		// pseudo-types for frame layout
    54		TFUNCARGS = types.TFUNCARGS
    55		TCHANARGS = types.TCHANARGS
    56	
    57		// pseudo-types for import/export
    58		TDDDFIELD = types.TDDDFIELD // wrapper: contained type is a ... field
    59	
    60		NTYPE = types.NTYPE
    61	)
    62	

View as plain text