parser

package
v0.2.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package parser implements TypeRB's handwritten recursive-descent and Pratt parsers. The syntax tree is independent from parser internals and retains source spans for diagnostics, formatting, and Ruby interoperability.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(source []byte) (*ast.Program, []diagnostic.Diagnostic)

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL