package util

import "gonum.org/v1/gonum/graph/formats/dot/internal/util"

Package util provides generated internal utility functions for DOT parsing.

Index

Functions

func IntValue

func IntValue(lit []byte) (int64, error)

UintValue will attempt to parse a byte-slice as a signed base-10 64-bit integer.

func RuneToString

func RuneToString(r rune) string

func RuneValue

func RuneValue(lit []byte) rune

RuneValue will convert the literal value of a scanned token to a rune.

func UintValue

func UintValue(lit []byte) (uint64, error)

UintValue will attempt to parse a byte-slice as an unsigned base-10 64-bit integer.

Source Files

doc.go litconv.go rune.go

Version
v0.15.1 (latest)
Published
Aug 16, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
12 hours ago

Tools for package owners.