rust

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RX_COMMENTS *regexp.Regexp
)

Functions

func NewRustPreprocessor

func NewRustPreprocessor() preprocessor.PreProcessor

Types

type RustPreprocess

type RustPreprocess struct{}

func (*RustPreprocess) Name

func (p *RustPreprocess) Name() string

func (*RustPreprocess) ProcessContent

func (p *RustPreprocess) ProcessContent(content string) string

func (*RustPreprocess) SupportedFileTypes

func (p *RustPreprocess) SupportedFileTypes() []string

Jump to

Keyboard shortcuts

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