logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnsjit.lib.trie.node - Node of trie, which contains the value and key.

Authors And Contributors

       Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

       Maintained by DNS-OARC

              https://www.dns-oarc.net/

Bugs

       For issues and feature requests please use:

              https://github.com/DNS-OARC/dnsjit/issues

       For question and help please use:

              admin@dns-oarc.net

dnsjit                                                1.5.0                              dnsjit.lib.trie.node(3)

Description

FunctionsTrieNode.new(trie, val, key, keylen)
              Create a new node object.

       TrieNode:key()
              Return  key  and keylen of this node.  Key is string or byte array if the trie's binary setting is
              set to true.

       TrieNode:log()
              Return the Log object to control logging of this instance or module.

       TrieNode:get()
              Get the value of this node.

       TrieNode:set(value)
              Set the value of this node.

Name

       dnsjit.lib.trie.node - Node of trie, which contains the value and key.

See Also

dnsjit.lib.trie(3)

Synopsis

Setanode'svalue.
         node:set(42)

   Getanode'skeyandvalue.
         local key = node:key()
         local val = node:get()

See Also