class Icr::CommandStack
- Icr::CommandStack
- Reference
- Object
Overview
CommandStack - is a collection is a user's input. It distinguishes input of different types and at the end generates crystal source code, that can be executed.
Defined in:
icr/command_stack.crConstructors
Instance Method Summary
- #clear
- #commands : Array(Icr::Command)
-
#pop
Pop the last command.
-
#push(command : String)
Add new command.
-
#to_code
Generate crystal source code, based on the command in the stack.