function

package
v0.0.0-...-03db73b Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDescriptionOfFunction

func GetDescriptionOfFunction(endingLineIndex int, lines []string) string

func GetPostProcessedDescriptionOfFunction

func GetPostProcessedDescriptionOfFunction(endingLineIndex int, lines []string) string

func ParseFiles

func ParseFiles(name, pathFunctionFile string, mainFolder Folder)

func ParseHTML

func ParseHTML(pageData PageData, pathToSave, pathFunctionFile string)

func PostProcessingDescription

func PostProcessingDescription(comment string) string

Types

type File

type File struct {
	Path string
	HREF string
	Slug string
}

File for the left menu

type Folder

type Folder struct {
	Name       string
	Files      []File
	SubFolders []Folder
	First      bool
}

Folder for the left menu

func FolderMaker

func FolderMaker(path string) Folder

type Function

type Function struct {
	Prototype   string
	Description string
	Path        string
	Line        int
}

Function in C language

func GetAllFunctionsOfLines

func GetAllFunctionsOfLines(lines []string, path string) []Function

type PageData

type PageData struct {
	PageTitle   string
	FolderTitle string
	MainFolder  Folder
	Functions   []Function
}

PageData struct for html info

Jump to

Keyboard shortcuts

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