Class OperatorsBuiltins


public final class OperatorsBuiltins extends JSBuiltinsContainer.Lambda
  • Field Details

    • OPERATORS

      public static final com.oracle.truffle.api.strings.TruffleString OPERATORS
    • BUILTINS

      public static final JSBuiltinsContainer BUILTINS
    • OPERATOR_DEFINITIONS_ID

      protected static final com.oracle.truffle.api.object.HiddenKey OPERATOR_DEFINITIONS_ID
  • Constructor Details

    • OperatorsBuiltins

      protected OperatorsBuiltins()
  • Method Details

    • overloadedOperatorsAllowed

      public static boolean overloadedOperatorsAllowed(JSDynamicObject arg)
      This is a stub function that always returns true. If we ever implement the with operators from part of the operator overloading proposal, this is where we would perform the check.
    • checkOverloadedOperatorsAllowed

      public static void checkOverloadedOperatorsAllowed(JSDynamicObject arg, com.oracle.truffle.api.nodes.Node originatingNode)