Class: Parser::Source::Rewriter::Action Private

Inherits:
Object
  • Object
show all
Includes:
Comparable
Defined in:
sorbet/rbi/parser@3.3.7.4.rbi

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#9

Instance Method Summary collapse

Constructor Details

#initialize(range, replacement = T.unsafe(nil), allow_multiple_insertions = T.unsafe(nil), order = T.unsafe(nil)) ⇒ Action

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#15



6590
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6590

def initialize(range, replacement = T.unsafe(nil), allow_multiple_insertions = T.unsafe(nil), order = T.unsafe(nil)); end

Instance Method Details

#allow_multiple_insertionsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#12



6596
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6596

def allow_multiple_insertions; end

#allow_multiple_insertions?Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#12

Returns:

  • (Boolean)


6599
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6599

def allow_multiple_insertions?; end

#orderObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#12



6602
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6602

def order; end

#rangeObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#12



6605
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6605

def range; end

#replacementObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/source/rewriter/action.rb#12



6608
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6608

def replacement; end