extract

package
v0.0.0-...-7544f7c Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Overview

Package extract pulls comments and other useful info out of GM .cpp files.

Index

Constants

View Source
const (
	// These are the various states the parser can be in after looking
	// at each line.
	OTHER = iota
	COMMENT
	IN_MULTILINE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GM

type GM struct {
	Comment  string
	Name     string
	Filename string
	Line     int
}

GM represents the comments for a single GM.

func Extract

func Extract(code, filename string) []*GM

Jump to

Keyboard shortcuts

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