Package io.github.protasm.jvmud.compiler.parser


package io.github.protasm.jvmud.compiler.parser
Core parser for LPC, producing AST structures from token streams.

Parses object-level declarations and method bodies while delegating expression precedence to a Pratt-style expression parser. The Parser records declared fields, methods, locals, parameters, inherits, and parser options.

Assumes tokens have already been validated lexically; raises ParseException when encountering structural issues. Parser behavior is influenced by ParserOptions but leaves name resolution, efun lookup, and type enforcement to semantic analysis.

This package defines parsing mechanics rather than AST shape (see parser.ast) or operator definitions (see parser.parselet and parser.type).