Documentation
¶
Index ¶
- Variables
- func BindIdent(bindings BindingsT, ident *ast.Ident, typeInfo *types.Info) *VariableT
- func MakeTopLevelForm(decl *ast.FuncDecl, parsedFiles *ParsedFilesT, globals BindingsT) *CallNodeT
- func SimplifyTopLevel(lambda *CallNodeT)
- type BindingsT
- type CompilatorT
- type LhsT
- type ParsedFilesT
- type PointerLhsT
Constants ¶
This section is empty.
Variables ¶
View Source
var Compilators = map[string]CompilatorT{}
Functions ¶
func MakeTopLevelForm ¶
func MakeTopLevelForm(decl *ast.FuncDecl, parsedFiles *ParsedFilesT, globals BindingsT) *CallNodeT
func SimplifyTopLevel ¶
func SimplifyTopLevel(lambda *CallNodeT)
Types ¶
type CompilatorT ¶ added in v0.1.1
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.