Class: JSONSchema::RegexOptions

Inherits:
Object
  • Object
show all
Defined in:
sig/jsonschema.rbs

Overview

Regex engine options.

Instance Method Summary collapse

Constructor Details

#initializeRegexOptions

Create regex engine options.

Parameters:

  • size_limit

    Maximum compiled regex size in bytes

  • dfa_size_limit

    Maximum DFA size in bytes

  • size_limit: (Integer, nil)
  • dfa_size_limit: (Integer, nil)


560
# File 'sig/jsonschema.rbs', line 560

def initialize: (?size_limit: Integer?, ?dfa_size_limit: Integer?) -> void

Instance Method Details

#dfa_size_limitInteger?

Maximum DFA size.

Returns:

  • (Integer, nil)


566
# File 'sig/jsonschema.rbs', line 566

def dfa_size_limit: () -> Integer?

#inspectString

Returns:

  • (String)


568
# File 'sig/jsonschema.rbs', line 568

def inspect: () -> String

#size_limitInteger?

Maximum compiled regex size.

Returns:

  • (Integer, nil)


563
# File 'sig/jsonschema.rbs', line 563

def size_limit: () -> Integer?

#to_sString

Returns:

  • (String)


569
# File 'sig/jsonschema.rbs', line 569

def to_s: () -> String