AbstractOption
abstract class AbstractOption(val name: String, context: BsonContext) : AbstractBsonNode, Option(source)
Helper to implement Option.
Inheritors
Functions
Link copied to clipboard
Makes this node immutable.
Link copied to clipboard
Reads the value of this option.
Link copied to clipboard
Returns a simplified (but equivalent) expression to the current expression.
Link copied to clipboard
Writes the result of simplifying to a new BSON document.
Link copied to clipboard
Writes the result of simplifying this expression into writer.