cs_dump(3)
β¨ NAME β¨
okay so this is the cs_dump(3) page from cs/cs.h, and bestie, the name is cs_dump β dump the cs parse tree π
β¨
π¦ SYNOPSIS π¦
#include <cs/cs.h>
NEOERR *cs_dump (CSPARSE *parse, void *ctx, CSOUTFUNC cb);
π ARGUMENTS π
parseβ theCSPARSEstructure created withcs_initctxβ user data to be passed to theCSOUTFUNCcbβ aCSOUTFUNCcallback
π DESCRIPTION π
so cs_dump will dump the CS parse tree in the parse struct. lowkey this is super useful for debugging your templates, like when you're staring at your code going "why are you like this???" π
this function also uses the CSOUTFUNC callback to display the parse tree. it's giving debug mode, but make it cute. β¨π¦
π₯ RETURN VALUE π₯
None. that's it. no return value, no drama, just None. periodt. π
π SEE ALSO π
go check these out, bestie, they're part of the whole vibe:
cs_dump(3)cs_destroy(3)cs_render(3)cs_register_esc_strfunc(3)cs_arg_parsev(3)cs_register_fileload(3)cs_init(3)cs_register_strfunc(3)cs_arg_parse(3)cs_parse_string(3)cs_parse_file(3)=(3)cs_register_function
this page is from ClearSilver, dated 12 July 2007, and yes it's the cs_dump(3) manual. bye bestie! π«Άβ¨π
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms