function

package
v0.0.0-...-2ec072f Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	Name        string
	Comments    []string
	Caller      *commonElementsFunction.Caller
	Params      []*commonElementsFunction.Param
	OutputTypes []*commonElementsVariable.VarType
	Body        *stmt.Block
}

func (*Function) ToGoASTFuncDecl

func (f *Function) ToGoASTFuncDecl() (*ast.FuncDecl, error)

func (*Function) ToGoASTNode

func (f *Function) ToGoASTNode() (ast.Node, error)

Jump to

Keyboard shortcuts

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