0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00
bird/doc
Maria Matejka 8ac15bf7a4 Filter: Methods rework
Methods can now be called as x.m(y), as long as x can have its type
inferred in config time. If used as a command, it modifies the object,
if used as a value, it keeps the original object intact.

Also functions add(x,y), delete(x,y), filter(x,y) and prepend(x,y) now
spit a warning and are considered deprecated.

It's also possible to call a method on a constant, see filter/test.conf
for examples like bgp_path = +empty+.prepend(1).

Inside instruction definitions (filter/f-inst.c), a METHOD_CONSTRUCTOR()
call is added, which registers the instruction as a method for the type
of its first argument. Each type has its own method symbol table and
filter parser switches between them based on the inferred type of the
object calling the method.

Also FI_CLIST_(ADD|DELETE|FILTER) instructions have been split to allow
for this method dispatch. With type inference, it's now possible.
2024-05-30 12:30:00 +02:00
..
old Moved old TeX documents to old/ to make them not interfere with doc building. 2000-05-31 11:28:07 +00:00
sbase Doc: Fix deprecated unescaped braces in perl script 2016-10-12 09:52:55 +02:00
slides Added slides for our presentation, but don't export them to the 2000-06-26 20:02:30 +00:00
slt2001 Added paper for my talk about BIRD at SLT 2001. 2001-01-19 20:30:08 +00:00
tex Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
bird.conf.example Doc: Redesign default config file 2018-03-20 19:28:26 +01:00
bird.conf.example2 Doc: Fix typo 2020-11-15 16:28:13 +01:00
bird.sgml Filter: Methods rework 2024-05-30 12:30:00 +02:00
kernel-doc Don't print empty synopses of functions. 2000-06-05 21:01:58 +00:00
Makefile Doc: Include full LinuxDocTools code 2021-04-25 02:21:05 +02:00
prog-foot.sgml Use <chapt> for chapters, <sect> for sections and <sect1> for subsections. 2000-06-02 17:23:53 +00:00
prog-head.sgml Small changes related to the new release 2022-02-20 14:28:06 +01:00
prog-intro.sgml Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
prog-root Doc: Move root of code documentation to doc dir 2018-12-14 01:53:32 +01:00
prog-spell.sed Added `progspell' target which runs ispell on the progdoc SGML file with 2000-06-07 12:27:18 +00:00
reply_codes Nest: Add command to request graceful restart 2019-06-30 21:29:24 +02:00
roadmap.md Documentation: Adding roadmap as decided in January 2023 2024-05-30 12:30:00 +02:00