Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Categories = []Category{ {"Calculator Operations", []string{ "basic", "prog", "sci", "stack", "stat", "zc", }}, {"Units of Measure", []string{ "len", "temp", }}, {"Library", []string{ "angle", "anno", "bool", "color", "complex", "cmp", "crypto", "decimal", "format", "geo", "hof", "rand", "rational", "text", "time", }}, {"Tables", []string{ "entity", "emoji", "epsg", "si", "tz", }}, }
View Source
var GroupTitles = map[string]string{
"angle": "Angular calculations",
"anno": "Annotations",
"basic": "Basic calculator",
"bool": "Boolean operations",
"color": "Color conversions",
"complex": "Complex numbers",
"cmp": "Comparisons",
"crypto": "Cryptographic ciphers",
"decimal": "Decimal numbers",
"entity": "HTML entity characters",
"emoji": "Unicode emoji characters",
"epsg": "EPSG Geodetic Parameter Dataset",
"format": "Value formatting",
"geo": "Geo-spatial calculations",
"hof": "Higher-order functions",
"len": "Length",
"prog": "Programmer's calculator",
"rand": "Random number generation",
"rational": "Rational numbers (fractions)",
"sci": "Scientific calculator",
"si": "International System of Units",
"stack": "Stack manipulations",
"stat": "Statistical calculations",
"temp": "Temperature",
"text": "Text operations",
"time": "Date, time, and duration operations",
"tz": "Time zone database",
"zc": "About this calculator",
}
View Source
var Preludes = map[string]string{
"time": `
<!-- eval: 'Jan 2 2006 15:04:05 -0700 MST' now-set -->
<!-- eval: 'MST' local-zone -->
`,
}
Functions ¶
func SortedNames ¶
Types ¶
type Op ¶
type Op struct { Group string Name string Funcs []FuncDecl Aliases []string Title string Desc string Example []Expect Macro string }
func FilterByGroup ¶
func ParseSourceFile ¶
func ParseSourceFiles ¶
Click to show internal directories.
Click to hide internal directories.