parser

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package parser provides Cedar schema text parsing and formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalSchema

func MarshalSchema(schema *ast.Schema) []byte

MarshalSchema formats an AST schema as Cedar text.

func ParseSchema

func ParseSchema(filename string, src []byte) (*ast.Schema, error)

ParseSchema parses Cedar schema text into an AST.

Types

This section is empty.

Jump to

Keyboard shortcuts

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