Module: Parser::Meta Private

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

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Parser metadata

source://parser//lib/parser/meta.rb#5

Constant Summary collapse

NODE_TYPES =

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.

All node types that parser can produce. Not all parser versions will be able to produce every possible node. Includes node types that are only emitted by the prism parser translator.

source://parser//lib/parser/meta.rb#17

T.let(T.unsafe(nil), Set)
PRISM_TRANSLATION_PARSER_NODE_TYPES =

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.

These are node types required by Prism::Translation::Parser, which has advanced syntax support ahead of the Parser gem.

source://parser//lib/parser/meta.rb#9

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