gen

command
v0.0.0-...-dab1cad Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 11 Imported by: 0

README

Generating the Meta Model

Microsoft provides a meta model describing the Lanugage Server Protocol.

Generating the Go types for reading the model

(cd $HOME; git clone https://github.com/microsoft/language-server-protocol.git)
go install github.com/atombender/go-jsonschema/cmd/gojsonschema@latest
gojsonschema -p main -v <(sed '/additionalProperties/d' <~/language-server-protocol/_specifications/lsp/3.17/metaModel/metaModel.schema.json) >metaModel.go

Then manually delete all _1 and _2 types and methods from metaModel.go

Documentation

Overview

This program reads the TTCN-3 grammar file and generates a parser for it.

Code generated by github.com/atombender/go-jsonschema, DO NOT EDIT.

Jump to

Keyboard shortcuts

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