class

ContextFreeGrammar

Inherits /tmp/tmp.ofFcjO/src/src/lib/context_free_grammar.cr::Macros < ContextFreeGrammar::Lexer::Macros < Reference < Object

Constants

LEX_CRUNCH_DEF_REGEX = /^{(.+?)} \_ {(.+?)}$/
LEX_CRUNCH_REGEX = /{(.+?)}[\s]+<-[\s]+(.+)/
LEX_FOLD_DEF_REGEX = /{(.+?)}/
LEX_FOLD_REGEX = /{(.+?)}[\s]+<-[\s]+(.+)/

Class methods

lex_step_crunch!(lex, *block_args)
Source
lex_step_fold(lex, *block_args)
Source
lex_step_translate(lex, *block_args)
Source

Nested types