Class BaseNodes


  • public final class BaseNodes
    extends java.lang.Object
    External property and function implementations for the `base` module.

    To reduce the chance of base module properties shadowing object properties, the only use of properties in the base module is for logical constants (e.g. MaxInt), and they all start with an uppercase letter.

    For the same reason, the only use of methods in the base module is for constructor methods (e.g. Pair()), and they all start with an uppercase letter.

    Note that having base module *properties* read language context specific information (e.g., CLI args) would lead to incorrect behavior, as a single base module instance is shared across all language contexts, and properties (whether external or not) are evaluated just once.