parseast

package
v0.0.0-...-44c2662 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package parseast parses raw text into a format that iGo can understand

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Raw       string
	Parsed    string
	Functions []*parse.Function
	// contains filtered or unexported fields
}

Parser is a structure which takes in Raw text, and categorizes the text given to it based on the golang language spec.

func (*Parser) Parse

func (a *Parser) Parse()

Parse takes an ast and parses out the data necessary to run the interpreter

func (*Parser) ParseFn

func (a *Parser) ParseFn(n *ast.FuncDecl) error

ParseFn is

func (*Parser) Setup

func (a *Parser) Setup() (canParse bool)

Setup sets up the Parser type, performing housekeeping so that it is ready for parsing

Jump to

Keyboard shortcuts

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