Package io.github.protasm.jvmud.compiler.semantic
package io.github.protasm.jvmud.compiler.semantic
Semantic analysis for parsed LPC objects.
This package turns parser output into a checked semantic model. It builds scopes, resolves fields, locals, methods, inherited members, parent calls, dynamic invocations, and LPC-facing efun calls, then reports source-level problems through the compiler pipeline.
Semantic analysis is also where JVMud enforces language contracts that require more than token
or grammar knowledge, including explicit LPC method and parameter types, assignment validity,
argument compatibility, return checking, and collection/indexing rules. Successful analysis
produces a SemanticModel for IR lowering.
-
ClassesClassDescriptionResult of running semantic analysis over an AST.Performs semantic analysis on a parsed AST and produces a typed model.Captures semantic artifacts produced by
SemanticAnalyzer.Represents a lexical scope containing symbol declarations.Semantic type checker that validates expressions, arguments, and returns while refining symbol types when they remain unspecified ormixed.Resolves LPC type keyword strings toLPCTypevalues.