parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2018 The Elasticshift Authors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AST

func AST(src []byte) (*ast.File, error)

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func New

func New(src []byte) *Parser

func (*Parser) Parse

func (p *Parser) Parse() (*ast.File, error)

type PositionErr

type PositionErr struct {
	Position token.Position
	Err      error
}

func (*PositionErr) Error

func (pe *PositionErr) Error() string

Jump to

Keyboard shortcuts

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