effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/powershell/namespace_feature.test
2019-03-14 13:10:17 +08:00

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