Class GraalJSRegularExpressionFactory

    • Constructor Detail

      • GraalJSRegularExpressionFactory

        public GraalJSRegularExpressionFactory()
        Constructor.

        This uses the context from GraalJSContextFactory.getInstance().

        It is the caller's responsibility to release the context when it is no longer required by using GraalJSContextFactory.getInstance().close().

      • GraalJSRegularExpressionFactory

        public GraalJSRegularExpressionFactory​(org.graalvm.polyglot.Context context)
        Constructor.

        It is the caller's responsibility to release the context when it is no longer required.

        Parameters:
        context - the context