Documentation
¶
Overview ¶
Package parser implements the Vibescript lexer and recursive-descent parser. It produces an AST (see internal/ast) from .vibe source text and is not part of the embedder API surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse lexes and parses the given source text and returns the resulting AST together with any parse errors encountered. It is the stable entry point used by callers within the module.
func ParseTypeExpr ¶ added in v0.60.0
ParseTypeExpr parses a standalone type annotation spelling ("array<int>", "{ name: string }", "int | nil") the way parameter and return annotations parse inside a script. The whole input must be a single type expression.
Types ¶
Click to show internal directories.
Click to hide internal directories.