Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LiteralType (0.05 sec)

  1. doc/go1.17_spec.html

    They consist of the type of the literal followed by a brace-bound list of elements.
    Each element may optionally be preceded by a corresponding key.
    </p>
    
    <pre class="ebnf">
    CompositeLit  = LiteralType LiteralValue .
    LiteralType   = StructType | ArrayType | "[" "..." "]" ElementType |
                    SliceType | MapType | TypeName .
    LiteralValue  = "{" [ ElementList [ "," ] ] "}" .
    ElementList   = KeyedElement { "," KeyedElement } .
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    They consist of the type of the literal followed by a brace-bound list of elements.
    Each element may optionally be preceded by a corresponding key.
    </p>
    
    <pre class="ebnf">
    CompositeLit  = LiteralType LiteralValue .
    LiteralType   = StructType | ArrayType | "[" "..." "]" ElementType |
                    SliceType | MapType | TypeName [ TypeArgs ] .
    LiteralValue  = "{" [ ElementList [ "," ] ] "}" .
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top