preprocessor

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugPreprocessor bool

DebugPreprocessor when set to true the CTags preprocessor will output debugging info to stdout this is useful for unit-testing to provide more infos

Functions

func GCC

func GCC(sourceFilePath *paths.Path, targetFilePath *paths.Path, includes paths.PathList, buildProperties *properties.Map) ([]byte, []byte, error)

GCC performs a run of the gcc preprocess (macro/includes expansion). The function outputs the result to targetFilePath. Returns the stdout/stderr of gcc if any.

func PreprocessSketchWithCtags

func PreprocessSketchWithCtags(sketch *sketch.Sketch, buildPath *paths.Path, includes paths.PathList, lineOffset int, buildProperties *properties.Map, onlyUpdateCompilationDatabase bool) ([]byte, []byte, error)

PreprocessSketchWithCtags performs preprocessing of the arduino sketch using CTags.

func RunCTags

func RunCTags(sourceFile *paths.Path, buildProperties *properties.Map) ([]byte, []byte, error)

RunCTags performs a run of ctags on the given source file. Returns the ctags output and the stderr contents.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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