struct CrystalRobots::Compiler::Parser::Grammar

Defined in:

compiler/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rs : Array(Tuple(Regex | Nil, Array(Tuple(String, Type)) | Nil, Type | Nil, MappingType | Nil))) #

def self.new(grammar : Array(GrammarRule)) #

Instance Method Detail


def grammar=(grammar : Array(CrystalRobots::Compiler::Parser::GrammarRule)) #