Sha256: a0d587c960f2a7f2926c31fb6f29ffbb27e49ddc7eba740baf5f1b3cd645bb8a

Contents?: true

Size: 460 Bytes

Versions: 6

Compression:

Stored size: 460 Bytes

Contents

# typed: strict

class Parser::Base < ::Racc::Parser
  # Parses a source buffer and returns the AST, or `nil` in case of a non fatal error.
  #
  # @api public
  # @param source_buffer [Parser::Source::Buffer] The source buffer to parse.
  # @return [Parser::AST::Node, nil]
  #
  # source://parser-3.1.2.1/lib/parser/base.rb:186
  sig { params(source_buffer: Parser::Source::Buffer).returns(T.nilable(Parser::AST::Node)) }
  def parse(source_buffer); end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
packwerk-3.2.2 sorbet/rbi/shims/parser.rbi
packwerk-3.2.1 sorbet/rbi/shims/parser.rbi
packwerk-3.2.0 sorbet/rbi/shims/parser.rbi
packwerk-3.1.0 sorbet/rbi/shims/parser.rbi
packwerk-3.0.1 sorbet/rbi/shims/parser.rbi
packwerk-3.0.0 sorbet/rbi/shims/parser.rbi