C Parser Global Context

Nga Nguyen

May 6, 2022

1 Introduction

The C parser context is used to store the information such as the scope, type and storage of the current entity, given by the decl_spec_list, which are used later by declarator to create the entity.

import entity from "ri.newgen"

import type from "ri.newgen"

import storage from "ri.newgen"

import qualifier from "ri.newgen"

c_parser_context = scope:string x type:type x storage:storage x qualifiers:qualifier* x typedef:bool x static:bool