ast

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSrcmaps

func FromSrcmaps() (map[string]AST, error)

The AST from a source map will contain only those byte ranges that are represented in the bytecode, since the source map comes from the bytecode.

Types

type AST

type AST struct {
	ID       uint
	SrcLoc   srclocation.SourceLocation
	Children []*AST
}

The Abstract Syntax Tree of a contract.

func Get

func Get(contractName string) (AST, error)

Jump to

Keyboard shortcuts

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