Module: Ibex::Frontend::BootstrapParserDeclarations

Included in:
BootstrapParser
Defined in:
lib/ibex/frontend/parser/declarations.rb

Overview

Parses the declaration section of a grammar. rubocop:disable Metrics/ModuleLength, Metrics/CyclomaticComplexity Bootstrap declarations intentionally mirror the generated frontend's complete declaration vocabulary.

Constant Summary collapse

DECLARATIONS =
%w[
  include import token prechigh preclow options expect expect_rr start recover on_error_reduce
  test lexer convert display type param printer pragma rule
].freeze
ASSOCIATIVITIES =

: Array

%w[left right nonassoc precedence].freeze