Class: Parser::MaxNumparamStack Private

Inherits:
Object
  • Object
show all
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.

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

Constructor Details

#initializeMaxNumparamStack

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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


3179
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3179

def has_ordinary_params?; end

#popObject

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

#stackObject

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

#topObject

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