mirror of
https://github.com/github/codeql.git
synced 2026-04-04 06:38:22 +02:00
13 lines
294 B
Plaintext
13 lines
294 B
Plaintext
/** Provides the `Unit` class. */
|
|
overlay[local?]
|
|
module;
|
|
|
|
/** The unit type. */
|
|
private newtype TUnit = TMkUnit()
|
|
|
|
/** The trivial type with a single element. */
|
|
final class Unit extends TUnit {
|
|
/** Gets a textual representation of this element. */
|
|
string toString() { result = "unit" }
|
|
}
|