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

A terminal or nonterminal representing the body (right side) of a production rule. More...

#include <grammar.h>

Public Attributes

enum rdesc_grammar_symbol_type ty
 Type of the symbol.
 
int id
 Terminal, nonterminal, or sentinel identifier.
 

Detailed Description

A terminal or nonterminal representing the body (right side) of a production rule.

Definition at line 89 of file grammar.h.

Member Data Documentation

◆ id

int rdesc_grammar_symbol::id

Terminal, nonterminal, or sentinel identifier.

Definition at line 92 of file grammar.h.

◆ ty

enum rdesc_grammar_symbol_type rdesc_grammar_symbol::ty

Type of the symbol.

Definition at line 90 of file grammar.h.


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