parse

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fixup added in v0.3.1

func Fixup(cfg FixupConfig, structs []*types.Struct, processNameFunc func(string) string) []*types.Struct

func Parse

func Parse(raw []byte, name string) (*ast.Contract, []*types.Struct, error)

Types

type FixupConfig added in v0.3.1

type FixupConfig map[string]FixupStruct

type FixupStruct added in v0.3.1

type FixupStruct struct {
	Name   string
	Equals string
	Fields map[string]string
}

Jump to

Keyboard shortcuts

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