compiler

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is responsible for converting raw bytes into a Node.

func NewParser

func NewParser() *Parser

NewParser creates a new parser instance.

func (*Parser) Parse

func (p *Parser) Parse(data []byte) (*domain.Node, error)

Parse takes the raw content and tries to decode it into a Node. For MVP, we assume the content is JSON.

Jump to

Keyboard shortcuts

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