Module: Ruby::Prism
| Relationships & Source Files | |
| Defined in: | prism_init.c, prism_init.c |
Overview
Ruby::Prism is the prism parser built into the interpreter, i.e., the very parser that parsed the running program.
Its API follows the version of prism bundled with this ::Ruby, and may
change incompatibly between ::Ruby minor versions: not only the node
definitions but also the other APIs, as the bundled prism may move to a
new major version.
In most cases, use the prism gem instead. Use Ruby::Prism only when you need the very parser of the running interpreter.