pass

package
v0.0.0-...-51f7e66 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

package pass implements the first and second pass to go from gir files to go files the first pass collects basic type information the second pass uses the basic type information to go over the gir files again and convert it to go files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pass

type Pass struct {
	Parsed []types.Repository
	Types  types.KindMap
}

func New

func New(files []string) (*Pass, error)

New creates a new pass struct by parsing gir files in the string slice This pass object will then be used to go over these files multiple times up until we have the full info to convert it to go files

func (*Pass) First

func (p *Pass) First()

First does a "first pass" meaning it collects basic type information for all the repositories

func (*Pass) Second

func (p *Pass) Second(dir string, gotemp *template.Template)

Jump to

Keyboard shortcuts

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