Class: Parser::MaxNumparamStack Private

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

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



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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


3185
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3185

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



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

#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



3205
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3205

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



3210
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3210

def top; end