struct CrystalRobots::Compiler::Parser::Grammar
- CrystalRobots::Compiler::Parser::Grammar
- Struct
- Value
- Object
Defined in:
compiler/parser.crConstructors
- .new(rs : Array(Tuple(Regex | Nil, Array(Tuple(String, Type)) | Nil, Type | Nil, MappingType | Nil)))
- .new(grammar : Array(GrammarRule))
Instance Method Summary
- #grammar : Array(CrystalRobots::Compiler::Parser::GrammarRule)
- #grammar=(grammar : Array(CrystalRobots::Compiler::Parser::GrammarRule))
Constructor Detail
def self.new(rs : Array(Tuple(Regex | Nil, Array(Tuple(String, Type)) | Nil, Type | Nil, MappingType | Nil)))
#