class Cabbage::DSL(T)
- Cabbage::DSL(T)
- Reference
- Object
Defined in:
cabbage/dsl.crConstructors
Class Method Summary
Instance Method Summary
- #finish!
- #rules : Array(Rule(T))
- #rules=(rules : Array(Rule(T)))
- #start(s : GrammarSymbol)
- #start_symbol : GrammarSymbol | Nil
- #start_symbol=(start_symbol : GrammarSymbol | Nil)
- #terminal(&block : Cabbage::Terminal -> T)
- #terminal_action : Cabbage::Terminal -> T | Nil
- #terminal_action=(terminal_action : Cabbage::Terminal -> T | Nil)