parser

package
v0.0.0-...-025acd7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Unlicense Imports: 8 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 Parse

func Parse(scanner *bufio.Scanner) (parser *Parser)

func (*Parser) CurrentHead

func (p *Parser) CurrentHead() int

func (*Parser) HasNextToken

func (p *Parser) HasNextToken() bool

func (*Parser) NextToken

func (p *Parser) NextToken() (res *Token)

func (*Parser) ResetHeadTo

func (p *Parser) ResetHeadTo(pos int) *Token

type Token

type Token = token.Token

Jump to

Keyboard shortcuts

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