Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTopLevelForm ¶
func MakeTopLevelForm(decl *ast.FuncDecl, parsedFiles *ParsedFilesT, globals BindingsT) *CallNodeT
func SimplifyTopLevel ¶
func SimplifyTopLevel(lambda *CallNodeT)
Types ¶
type ParsedFilesT ¶ added in v0.1.1
type ParsedFilesT struct {
Directory string
PackagePath string
AstFiles []*ast.File
Packages []*packages.Package
TypesInfo *types.Info
FileSet *token.FileSet
}
func NewParsedFiles ¶ added in v0.1.1
func NewParsedFiles(directory string, packagePath string) *ParsedFilesT
func (*ParsedFilesT) ParseFile ¶ added in v0.1.1
func (files *ParsedFilesT) ParseFile(fileName string, fileContents []byte)
func (*ParsedFilesT) TypeCheck ¶ added in v0.1.1
func (files *ParsedFilesT) TypeCheck()
type PointerLhsT ¶
type PointerLhsT struct {
// contains filtered or unexported fields
}
An LHS where the location is a single variable, which so far is all of them.
Click to show internal directories.
Click to hide internal directories.