MCPcopy Create free account

hub / github.com/ajstarks/decksh / functions

Functions228 in github.com/ajstarks/decksh

↓ 1 callersFunctiondbracket
dbracket makes a down-facing bracket
generate.go:1216
↓ 1 callersFunctiondchart
dchart formats a dchart line
cmd/dshfmt/main.go:173
↓ 1 callersFunctiondeck
deck produces the "deck" element
generate.go:131
↓ 1 callersFunctiondeckchart
chart uses the dchart API to make charts dchart [args]
generate.go:2503
↓ 1 callersFunctiondeckconnectline
deckpolyline makes deck markup for a ployline given x, y coordinate slices
kmlgeo.go:148
↓ 1 callersFunctiondeckgeoimg
deckgeoimg places images at geometric coordinates
geo.go:180
↓ 1 callersFunctiondeckpolyline
Deckpolyline makes deck markup for a ployline given x, y coordinate slices, cycling back to the beginning
kmlgeo.go:135
↓ 1 callersFunctiondeckshTOC
deckshTOC makes a table of contents from decksh source
cmd/dshtoc/main.go:232
↓ 1 callersFunctiondelim
delim returns the index of sep in slice s. if not found return -1
assign.go:235
↓ 1 callersFunctiondiag
diag shows specified diagnostics
cmd/dshfmt/main.go:405
↓ 1 callersFunctiondirectfunc
directfunc calls a previously imported function function args...
parse.go:360
↓ 1 callersFunctiondline
dline makes dotted lines dline x1 y1 x2 y2 [n] [size] [color] [opacity]
generate.go:972
↓ 1 callersFunctionendslide
endslide writes ending slide markup to w
cmd/dshtoc/main.go:112
↓ 1 callersFunctionendtag
elist ends a deck, slide, or list
generate.go:57
↓ 1 callersFunctionevalif
evalif evaluates an if statement
parse.go:370
↓ 1 callersFunctionfanchart
fanchart makes fan and bowtie charts fan|fanchart|bow|bowtie filename [size]
generate.go:2308
↓ 1 callersFunctionforbody
forbody collects items within a for loop body
loop.go:108
↓ 1 callersFunctionforfile
forfile reads and returns the contents of the file in for x = "file"
loop.go:66
↓ 1 callersFunctionformat
format formats a series of decksh lines (each one is a parsed string slice)
cmd/dshfmt/main.go:251
↓ 1 callersFunctionfornum
fornum returns the arguments for for x=begin end [incr]
loop.go:81
↓ 1 callersFunctionfortype
fortype returns the type of for loop; either: for v = begin end incr for v = ["abc" "123"] for v = ( n1 n2 ... n) for v = "file"
loop.go:27
↓ 1 callersFunctiongenarrow
wpolar converts polar to Cartesian coordinates func wpolar(cx, cy, r, t float64) (float64, float64) { return ((r * math.Cos(t)) + (cx)), ((r * math.S
generate.go:1375
↓ 1 callersFunctiongeoarc
geoarc makes a arc between two points using specified coordinates
generate.go:1968
↓ 1 callersFunctiongeocoord
getcoord assigns canvas coordinates given a geo: URL or lat/long pair v = getcoord "loc" v = getcoord lat long
assign.go:304
↓ 1 callersFunctiongeoimage
geoimage places an image at a geographic coordinate
generate.go:1751
↓ 1 callersFunctiongeolabel
geolabel makes labels from geometric data (lat/long pairs)
generate.go:1854
↓ 1 callersFunctiongeoline
geoline makes lines from geometric data
generate.go:1717
↓ 1 callersFunctiongeoloc
geoloc makes dot and label with alighnment
generate.go:1810
↓ 1 callersFunctiongeopath
geopath draws a straight line between two points using specified coordinates
generate.go:2002
↓ 1 callersFunctiongeopathfile
geopathfile makes a series of straight line paths using data in a file
generate.go:1921
↓ 1 callersFunctiongeopoint
geopoint makes points from geometric data (lat/long pairs)
generate.go:1886
↓ 1 callersFunctiongeopoly
geopoly makes polygons from geometric data
generate.go:1688
↓ 1 callersFunctiongeoruler
georuler makes a geographic ruler
generate.go:199
↓ 1 callersFunctiongrid
grid places objects read from a file in a grid grid "file" x y xint yint xlimit
parse.go:181
↓ 1 callersFunctionhline
hline makes a horizontal line hline x y length [size] [color] [opacity]
generate.go:857
↓ 1 callersFunctionifelse
ifelse returns if and (possibly empty) else blocks
parse.go:406
↓ 1 callersFunctionimage
image generates markup for images (plain and captioned) image "file" x y w h [scale] [link]
generate.go:419
↓ 1 callersFunctionimagecheck
imagecheck checks if images can be opened
cmd/dshlint/main.go:283
↓ 1 callersFunctionimportfunc
import loads the definition of a function from a file import "file"
parse.go:254
↓ 1 callersFunctioninclude
include inserts the contents of a file include "file"
parse.go:62
↓ 1 callersFunctioninclude
include reads the contents of included decksh source, counting pages
cmd/dshtoc/main.go:51
↓ 1 callersFunctionintcheck
check checks the structural integrity by analyzing keywords
cmd/dshfmt/main.go:115
↓ 1 callersFunctionisaop
isaop tests for assignment operators
parse.go:25
↓ 1 callersFunctionkmlshape
geoshape produces deck markup from KML data
kmlgeo.go:169
↓ 1 callersFunctionkwcheck
kwcheck checks for matching keywords
cmd/dshlint/main.go:187
↓ 1 callersFunctionkwcheck
kwcheck checks for matching keywords
cmd/dshfmt/main.go:72
↓ 1 callersFunctionkwcounter
kwcouter count keywords
cmd/dshlint/main.go:177
↓ 1 callersFunctionkwcounter
kwcouter count keywords occurances
cmd/dshfmt/main.go:47
↓ 1 callersFunctionlbrace
lbrace makes a left-facing brace
generate.go:1293
↓ 1 callersFunctionlbracket
lbracket makes a left-facing bracket
generate.go:1178
↓ 1 callersFunctionlegend
legend makes the markup for the legend keyword legend "text" x y size font color
generate.go:1088
↓ 1 callersFunctionline
line generates markup for lines line x1 y1 x2 y2 [size] [color] [opacity]
generate.go:830
↓ 1 callersFunctionlint
lint tests for proper keyword arguments
cmd/dshlint/main.go:303
↓ 1 callersFunctionlist
list generates markup for lists list x y size [font] [color] [opacity] [lp] [link]
generate.go:471
↓ 1 callersFunctionlisterr
listerr displays unmatched list errors
cmd/dshfmt/main.go:107
↓ 1 callersFunctionlistitem
listitem generates list items
generate.go:497
↓ 1 callersFunctionlistitem
listitem formats a list item
cmd/dshfmt/main.go:228
↓ 1 callersFunctionloadata
loadata creates a file using the data keyword data "file"...edata
parse.go:81
↓ 1 callersFunctionmatcherr
matcherr displays unmatched keyword errors
cmd/dshfmt/main.go:93
↓ 1 callersFunctionmathfunc
mathfunc returns the {sine|cosine|tangent|sqrt} of a number or binary operation
assign.go:512
↓ 1 callersFunctionmaxvar
maxvar returns the maximum length element within an assignment line
cmd/dshfmt/main.go:325
↓ 1 callersFunctionnameitem
nameitem writes a list item (name) to w
cmd/dshtoc/main.go:92
↓ 1 callersFunctionpageitem
pageitem writes a page number item to w
cmd/dshtoc/main.go:97
↓ 1 callersFunctionparse
parse takes a line of input and returns a string slice containing the parsed tokens
cmd/dshlint/main.go:260
↓ 1 callersFunctionparse
parse takes a line of input and returns a string slice containing the parsed tokens
cmd/dshfmt/main.go:355
↓ 1 callersFunctionparseJSON
parseJSONData parses raw JSON data
jsongeo.go:45
↓ 1 callersFunctionparsePolyLine
parsePolyLine returns the poly[gon|line] struct from the shape record
shpgeo.go:126
↓ 1 callersFunctionparseShape
ParseShape retrieves coordinate data from shape records, producing deck markup
shpgeo.go:92
↓ 1 callersFunctionparsepar
parsepar parses paragraph commands para x y width fontsize [font] [color] [opacity] [link] ... epara
parse.go:119
↓ 1 callersFunctionpchart
pchart makes porpotional charts (pmaps, donut, pie, pgrid, lego/waffle) <chartype> filename [width] [size]
generate.go:2235
↓ 1 callersFunctionpill
pill makes a horizontal pill shape pill x y w h [color]
generate.go:626
↓ 1 callersFunctionpolarfunc
polarfunc assigns polar coordinates
assign.go:190
↓ 1 callersFunctionpolygon
polygon generates markup for polygons polygon "xcoord" "ycoord" [color] [opacity]
generate.go:738
↓ 1 callersFunctionpolyline
polyline makes a series of lines given a set of coordinantes polyline "xcoord" "ycoord" [lw] [color] [opacity]
generate.go:785
↓ 1 callersFunctionprocess
process the input, make output
cmd/dshfmt/main.go:465
↓ 1 callersFunctionrandom
random returns a bounded random number
assign.go:549
↓ 1 callersFunctionrbrace
rbrace makes a right-facing brace
generate.go:1307
↓ 1 callersFunctionrbracket
rbracket makes a right-facing bracket
generate.go:1191
↓ 1 callersFunctionreadDecksh
readDecks reads decksh lines from a io.Reader, parsing them into lines blank lines are preserved.
cmd/dshlint/main.go:248
↓ 1 callersFunctionreadDecksh
readDecks reads decksh lines from a io.Reader, parsing them into lines blank lines are preserved.
cmd/dshfmt/main.go:343
↓ 1 callersFunctionregshapes
regshapes generates markup for square and circle
generate.go:537
↓ 1 callersFunctionroundrect
roundrect makes a rounded rectangle centered at (x,y) with dimensions (w, h), r is the corner radius rrect x y w h r [color]
generate.go:575
↓ 1 callersFunctionrt
rt returns the distance and angle of a line, compensating for aspect ratio
generate.go:1351
↓ 1 callersFunctionrtext
rtext generates markup for rotated text rtext x y angle size [font] [color] [opacity] [link]
generate.go:348
↓ 1 callersFunctionruler
ruler makes x, y rulers rule xincr [color]
generate.go:166
↓ 1 callersFunctionsetGeoCanvas
setGeoCanvas set the geo canvas variables
generate.go:1661
↓ 1 callersFunctionsetIO
setIO sets up the input and output
cmd/dshfmt/main.go:433
↓ 1 callersFunctionsetLatLong
setLatLong sets the geo lat/long variables
generate.go:1609
↓ 1 callersFunctionsetoptions
setoptions sets command line options and input files
cmd/dshtoc/main.go:208
↓ 1 callersFunctionshapes
shapes generates markup for rectangle and ellipse
generate.go:513
↓ 1 callersFunctionshpdeckpoly
shpdeckpoly makes deck markup from poly data
shpgeo.go:143
↓ 1 callersFunctionshpdeckpolyline
shpdeckpolyline makes a series of lines in deck markup from a set of (x,y) coordinates
shpgeo.go:167
↓ 1 callersFunctionsimpleassign
simpleassign creates an simple assignment id=number
assign.go:80
↓ 1 callersFunctionslide
slide produces the "slide" element slide [bg] [fg]
generate.go:240
↓ 1 callersFunctionsortkw
sort keywords by name
cmd/dshfmt/main.go:390
↓ 1 callersFunctionsortkwfreq
sort keywords by occurance
cmd/dshfmt/main.go:368
↓ 1 callersFunctionsprint
sprint makes a string assignment using formatted text
assign.go:336
↓ 1 callersFunctionstar
star makes a n-sided star star x y nsides inner outer [color] [op]
generate.go:663
↓ 1 callersFunctionstdchart
stdchart makes bar charts, horizontal or word bar charts, line charts, scatter charts, dot charts, area charts, slope charts <chartType> filename [col
generate.go:2352
↓ 1 callersFunctionstringarg
stringarg formats a line with keyword followed by a string
cmd/dshfmt/main.go:200
← previousnext →101–200 of 228, ranked by callers