TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::sexpr::Node Struct Reference

#include <sexpr/sexpr.hpp>

Public Attributes

Kind kind
std::uint32_t begin
 byte offset of '(' / first char of the atom / opening quote
std::uint32_t end
 one past ')' / last char / closing quote
std::uint32_t first_child
 index into Document::kids_ (lists only)
std::uint32_t child_count
NodeId parent

Detailed Description

Definition at line 24 of file sexpr.hpp.

Member Data Documentation

◆ begin

std::uint32_t tmk::sexpr::Node::begin

byte offset of '(' / first char of the atom / opening quote

Definition at line 26 of file sexpr.hpp.

◆ child_count

std::uint32_t tmk::sexpr::Node::child_count

Definition at line 29 of file sexpr.hpp.

◆ end

std::uint32_t tmk::sexpr::Node::end

one past ')' / last char / closing quote

Definition at line 27 of file sexpr.hpp.

◆ first_child

std::uint32_t tmk::sexpr::Node::first_child

index into Document::kids_ (lists only)

Definition at line 28 of file sexpr.hpp.

◆ kind

Kind tmk::sexpr::Node::kind

Definition at line 25 of file sexpr.hpp.

◆ parent

NodeId tmk::sexpr::Node::parent

Definition at line 30 of file sexpr.hpp.


The documentation for this struct was generated from the following file: