trsparser

package
v0.0.0-...-ef5b5f7 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package trsparser provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NonEmptyString

type NonEmptyString = string

NonEmptyString defines model for NonEmptyString.

type ParseError

type ParseError struct {
	LlmMessage NonEmptyString `json:"llmMessage"`
	Summary    NonEmptyString `json:"summary"`
}

ParseError defines model for ParseError.

func (*ParseError) Error

func (e *ParseError) Error() string

type Parser

type Parser struct{}

func NewParser

func NewParser() *Parser

func (Parser) Parse

func (p Parser) Parse(input string) (*Trs, error)

type Trs

type Trs struct {
	Interpretations []NonEmptyString `json:"interpretations"`
	Rules           []NonEmptyString `json:"rules"`
	Variables       []NonEmptyString `json:"variables"`
}

Trs defines model for Trs.

Jump to

Keyboard shortcuts

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