parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

gurs-core sub-package that parses: files / functions (fn) / needed structs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoFn

type GoFn baseFn

func ConvertRsFnSliceToGo

func ConvertRsFnSliceToGo(fns []RustFn) (goFuncs []GoFn)

func (GoFn) ToCGo

func (fn GoFn) ToCGo() string

func (GoFn) ToTemplate

func (fn GoFn) ToTemplate() (*template.Template, error)

type RustFn

type RustFn baseFn

func GetFunctions

func GetFunctions(filePaths []string) []RustFn

func (RustFn) ConvertToGo

func (fn RustFn) ConvertToGo() GoFn

Jump to

Keyboard shortcuts

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