number

package
v0.0.0-...-2d3df9e Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Number

type Number struct {
	token.TokenN `json:"-"`
	Raw          string `json:"raw"`
	Start        int    `json:"start"`
	End          int    `json:"end"`
	Number       int    `json:"number"`
	NumRestored  int    `json:"numRestored"`
	MaybePage    bool   `json:"maybePage"`
	MaybeYear    bool   `json:"maybeYear"`
}

func NewNumber

func NewNumber(t token.TokenN) Number

func (Number) ToJSON

func (n Number) ToJSON(pretty bool) ([]byte, error)

Jump to

Keyboard shortcuts

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