Class: Parser::MaxNumparamStack Private
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.
Holds p->max_numparam from parse.y
source://parser//lib/parser/max_numparam_stack.rb#8
Constant Summary collapse
- ORDINARY_PARAMS =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
source://parser//lib/parser/max_numparam_stack.rb#11
T.let(T.unsafe(nil), Integer)
Instance Method Summary collapse
-
#empty? ⇒ Boolean
private
source://parser//lib/parser/max_numparam_stack.rb#17.
-
#has_numparams? ⇒ Boolean
private
source://parser//lib/parser/max_numparam_stack.rb#29.
-
#has_ordinary_params! ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#21.
-
#has_ordinary_params? ⇒ Boolean
private
source://parser//lib/parser/max_numparam_stack.rb#25.
-
#initialize ⇒ MaxNumparamStack
constructor
private
source://parser//lib/parser/max_numparam_stack.rb#13.
-
#pop ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#45.
-
#push(static:) ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#41.
-
#register(numparam) ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#33.
-
#stack ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#9.
-
#top ⇒ Object
private
source://parser//lib/parser/max_numparam_stack.rb#37.
Constructor Details
#initialize ⇒ MaxNumparamStack
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/max_numparam_stack.rb#13
3162 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3162 def initialize; end |
Instance Method Details
#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/max_numparam_stack.rb#17
3168 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3168 def empty?; end |
#has_numparams? ⇒ 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/max_numparam_stack.rb#29
3174 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3174 def has_numparams?; end |
#has_ordinary_params! ⇒ 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/max_numparam_stack.rb#21
3179 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3179 def has_ordinary_params!; end |
#has_ordinary_params? ⇒ 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/max_numparam_stack.rb#25
3185 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3185 def has_ordinary_params?; end |
#pop ⇒ 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/max_numparam_stack.rb#45
3190 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3190 def pop; end |
#push(static:) ⇒ 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/max_numparam_stack.rb#41
3195 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3195 def push(static:); end |
#register(numparam) ⇒ 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/max_numparam_stack.rb#33
3200 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3200 def register(numparam); end |
#stack ⇒ 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/max_numparam_stack.rb#9
3205 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3205 def stack; end |
#top ⇒ 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/max_numparam_stack.rb#37
3210 |
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3210 def top; end |