librdesc
Loading...
Searching...
No Matches
Public Attributes | List of all members
rdesc_node Struct Reference

A node in the CST. More...

#include <rdesc.h>

Public Attributes

union {
   uint32_t   ty: 1
 
   struct rdesc_token   tk
 
   struct rdesc_nonterminal   nt
 
n
 
struct rdesc_nodeparent
 

Detailed Description

A node in the CST.

Member Data Documentation

◆ 

union { ... } rdesc_node::n

an union name is required for C99

◆ nt

struct rdesc_nonterminal rdesc_node::nt

nonterminal

◆ parent

struct rdesc_node* rdesc_node::parent

parent node

◆ tk

struct rdesc_token rdesc_node::tk

token

◆ ty

uint32_t rdesc_node::ty

type of the symbol (token = 0 / nonterminal = 1)


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