Class: Parser::Source::TreeRewriter::Action Private
- Defined in:
 - sorbet/rbi/parser@3.3.8.0.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
      6953  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6953 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
      6956  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6956 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
      6959  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6959 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
      6962  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6962 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
      6965  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6965 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
      6968  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6968 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
      6971  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6971 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
      6974  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6974 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
      6977  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6977 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
      6980  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6980 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
      6983  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6983 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
      6986  | 
    
      # File 'sorbet/rbi/parser@3.3.8.0.rbi', line 6986 def replacement; end  |