parse

package
v0.0.0-...-7d312d8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInactiveExample = errors.New("Inactive example (ifdef'd out)")
)

Functions

func ParseCpp

func ParseCpp(body string) (*types.FiddleContext, error)

ParseCpp parses a Skia example and returns a FiddleContext that's ready to run.

Returns ErrorInactiveExample is the example is ifdef'd out. Other errors indicate a failure to parse the code or options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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