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
3156 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3156 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
3162 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3162 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
3168 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3168 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
3173 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3173 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
3179 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3179 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
3184 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3184 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
3189 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3189 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
3194 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3194 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
3199 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3199 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
3204 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3204 def top; end |