class

Lrama::GrammarParser

Inherits Reference < Object

Constants

DECLARATION_START = Set(String | Symbol).new(["%after-pop-stack", "%after-reduce", "%after-shift", "%after-shift-error-token", "%before-reduce", "%categories", "%code", "%define", "%destructor", "%error-token", "%expect", "%initial-action", "%inline", "%lex-param", "%locations", "%no-stdlib", "%nterm", "%nonassoc", "%param", "%parse-param", "%precedence", "%printer", "%require", "%right", "%rule", "%start", "%token", "%type", "%union"])

Constructors

new(lexer : Lexer)
Source

Instance methods

parse
Source