Spec-Zone.ru › Homebrew

Class: RuboCop::Cop::FormulaCop::FormulaNodes Private

Inherits:
T::Struct
  • Object
  • T::Struct
  • RuboCop::Cop::FormulaCop::FormulaNodes
show all
Defined in:
rubocops/extend/formula_cop.rb

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.

Instance Attribute Summary collapse

  • #body_node ⇒ RuboCop::AST::Node private

    Returns the value of prop body_node.

  • #class_node ⇒ RuboCop::AST::ConstNode private

    Returns the value of prop class_node.

  • #node ⇒ RuboCop::AST::ClassNode private

    Returns the value of prop node.

  • #parent_class_node ⇒ RuboCop::AST::ConstNode private

    Returns the value of prop parent_class_node.

Instance Method Summary collapse

  • #initialize(node:, class_node:, parent_class_node:, body_node:) ⇒ void constructor

Constructor Details

#initialize(node:, class_node:, parent_class_node:, body_node:) ⇒ void

Parameters:

  • node (RuboCop::AST::ClassNode)
  • class_node (RuboCop::AST::ConstNode)
  • parent_class_node (RuboCop::AST::ConstNode)
  • body_node (RuboCop::AST::Node)
# File ''

prop :node, RuboCop::AST::ClassNode
prop :class_node, RuboCop::AST::ConstNode
prop :parent_class_node, RuboCop::AST::ConstNode
prop :body_node, RuboCop::AST::Node

Instance Attribute Details

#body_node ⇒ RuboCop::AST::Node

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.

Returns the value of prop body_node.

Returns:

  • (RuboCop::AST::Node)
# File ''

prop :body_node, RuboCop::AST::Node

#class_node ⇒ RuboCop::AST::ConstNode

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.

Returns the value of prop class_node.

Returns:

  • (RuboCop::AST::ConstNode)
# File ''

prop :class_node, RuboCop::AST::ConstNode

#node ⇒ RuboCop::AST::ClassNode

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.

Returns the value of prop node.

Returns:

  • (RuboCop::AST::ClassNode)
# File ''

prop :node, RuboCop::AST::ClassNode

#parent_class_node ⇒ RuboCop::AST::ConstNode

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.

Returns the value of prop parent_class_node.

Returns:

  • (RuboCop::AST::ConstNode)
# File ''

prop :parent_class_node, RuboCop::AST::ConstNode

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/RuboCop/Cop/FormulaCop/FormulaNodes.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API