class Pegasus::Language::NamedConflictErrorContext

Overview

An error context which reports the items involved in some kind of conflict (shift / reduce or reduce / reduce). This version, unlike ConflictErrorContext, reports the relevant items' names.

Defined in:

pegasus/language_def.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pegasus::Error::ErrorContext

to_s(io) to_s

Constructor Detail

def self.new(nonterminals : Array(String)) #

[View source]

Instance Method Detail

def to_s(io) #

[View source]