2025-12-18 13:35:48 -06:00
|
|
|
import {ExpressionDataInterface, Kind} from "./expressiondata.js";
|
2023-01-06 15:54:31 -08:00
|
|
|
|
|
|
|
|
export class Null implements ExpressionDataInterface {
|
|
|
|
|
public readonly kind = Kind.Null;
|
|
|
|
|
|
|
|
|
|
public primitive = true;
|
|
|
|
|
|
|
|
|
|
coerceString(): string {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
number(): number {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|