parser

package
v0.0.0-...-36352f1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlueprintParser

type BlueprintParser struct{}

BlueprintParser Concrete's parser definition

func (BlueprintParser) Parse

func (bp BlueprintParser) Parse(filename string, tra transformer.Transformer) (def *definition.Api, err error)

Parse Concrete implementation of the Parser.Parse method

type Parser

type Parser interface {
	Parse(filename string, tra transformer.Transformer) (def *definition.Api, err error)
}

Parser Interface definition

func NewBlueprintParser

func NewBlueprintParser() Parser

NewBlueprintParser Creates a blueprint parser

func NewRamlParser

func NewRamlParser() Parser

NewRamlParser Creates a raml parser

type RamlParser

type RamlParser struct{}

RamlParser Concrete's parser definition

func (RamlParser) Parse

func (rp RamlParser) Parse(filename string, tra transformer.Transformer) (def *definition.Api, err error)

Parse Concrete implementation of the Parser.Parse method

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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