Package org.pkl.core
Class PNull
java.lang.Object
org.pkl.core.PNull
- All Implemented Interfaces:
Serializable,Value
Java representation of a
pkl.base#Null value.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ValueConverter<T> converter) Invokes the given converters's convert method for thisValue.voidaccept(ValueVisitor visitor) Invokes the given visitor's visit method for thisValue.PClassInfo<?> Returns information about the Pkl class associated with thisValue.static PNullReturns the sole instance of this class.toString()
-
Constructor Details
-
PNull
public PNull()
-
-
Method Details
-
getInstance
Returns the sole instance of this class. -
accept
Description copied from interface:ValueInvokes the given visitor's visit method for thisValue. -
accept
Description copied from interface:ValueInvokes the given converters's convert method for thisValue. -
getClassInfo
Description copied from interface:ValueReturns information about the Pkl class associated with thisValue.- Specified by:
getClassInfoin interfaceValue
-
toString
-