Spec-Zone.ru › Homebrew

Module: Parser

Defined in:
sorbet/rbi/parser@3.3.8.0.rbi

Overview

source://parser//lib/parser.rb#19

Defined Under Namespace

Modules: AST, Builders, Deprecation, Messages, Meta, Source Classes: Base, ClobberingError, Context, CurrentArgStack, Diagnostic, Lexer, LexerStrings, MaxNumparamStack, Rewriter, Ruby34, StaticEnvironment, SyntaxError, TreeRewriter, UnknownEncodingInMagicComment, VariablesStack

Constant Summary collapse

CurrentRuby =

Parser for the running version of Ruby. NOTE: Supports only Ruby <= 3.3. To parse Ruby 3.4+, please use the prism gem. You can also use them in conjunction to support multiple versions using a backwards-compatible AST.

source://parser//lib/parser/current.rb#129

See Also:

  • prism gem documentation
  • Guide to using prism and parser together.
Parser::Ruby34
MESSAGES =

Diagnostic messages (errors, warnings and notices) that can be generated.

source://parser//lib/parser/messages.rb#11

See Also:

  • Diagnostic
T.let(T.unsafe(nil), Hash)
VERSION =

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/version.rb#4

T.let(T.unsafe(nil), String)

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Parser.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API