parser

package
v0.0.0-...-a341d26 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 6 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 {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(lexer *lexer.Lexer) *Parser

func (*Parser) GetLexer

func (p *Parser) GetLexer() *lexer.Lexer

func (*Parser) Parse

func (p *Parser) Parse(bytes []byte) ([]*util.Struct, error)

func (*Parser) ParseField

func (p *Parser) ParseField(tokens []*token.Token) error

func (*Parser) ParseStruct

func (p *Parser) ParseStruct(tokens []*token.Token) (*util.Struct, error)

Jump to

Keyboard shortcuts

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