Class: Parser::Source::TreeRewriter::Action Private
- 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/tree_rewriter/action.rb#14
Instance Method Summary collapse
-
#combine(action) ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#29.
-
#contract ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#68.
-
#empty? ⇒ Boolean
private
source://parser//lib/parser/source/tree_rewriter/action.rb#34.
-
#initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)) ⇒ Action
constructor
private
source://parser//lib/parser/source/tree_rewriter/action.rb#17.
-
#insert_after ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#15.
-
#insert_before ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#15.
-
#insertion? ⇒ Boolean
private
source://parser//lib/parser/source/tree_rewriter/action.rb#58.
-
#moved(source_buffer, offset) ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#81.
-
#nested_actions ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#50.
-
#ordered_replacements ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#41.
-
#range ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#15.
-
#replacement ⇒ Object
private
source://parser//lib/parser/source/tree_rewriter/action.rb#15.
Constructor Details
#initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: 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/tree_rewriter/action.rb#17
6947 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6947 def initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)); end |
Instance Method Details
#combine(action) ⇒ Object
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/tree_rewriter/action.rb#29
6950 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6950 def combine(action); end |
#contract ⇒ Object
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/tree_rewriter/action.rb#68
6953 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6953 def contract; end |
#empty? ⇒ 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/tree_rewriter/action.rb#34
6956 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6956 def empty?; end |
#insert_after ⇒ Object
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/tree_rewriter/action.rb#15
6959 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6959 def insert_after; end |
#insert_before ⇒ Object
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/tree_rewriter/action.rb#15
6962 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6962 def insert_before; end |
#insertion? ⇒ 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/tree_rewriter/action.rb#58
6965 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6965 def insertion?; end |
#moved(source_buffer, offset) ⇒ Object
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/tree_rewriter/action.rb#81
6968 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6968 def moved(source_buffer, offset); end |
#nested_actions ⇒ Object
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/tree_rewriter/action.rb#50
6971 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6971 def nested_actions; end |
#ordered_replacements ⇒ Object
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/tree_rewriter/action.rb#41
6974 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6974 def ordered_replacements; end |
#range ⇒ Object
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/tree_rewriter/action.rb#15
6977 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6977 def range; end |
#replacement ⇒ Object
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/tree_rewriter/action.rb#15
6980 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 6980 def replacement; end |