mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-01-31 06:40:51 +08:00
18 lines
547 B
Plaintext
18 lines
547 B
Plaintext
|
[System.String]::Empty;
|
||
|
[Foo.Bar+Baz]::Abc;
|
||
|
[int] 42;
|
||
|
[string[]]
|
||
|
[OutputType([System.Collections.Generic.List[int]])]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["namespace", "[System.String]"],"::Empty",["punctuation", ";"],
|
||
|
["namespace", "[Foo.Bar+Baz]"],"::Abc",["punctuation", ";"],
|
||
|
["namespace", "[int]"]," 42",["punctuation", ";"],
|
||
|
["namespace", "[string[]]"],
|
||
|
["namespace", "[OutputType([System.Collections.Generic.List[int]])]"]
|
||
|
]
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Testing namespaces
|