taqi/MonkeyCoder — Issue #2: Method snippet
Author: taqi
Created: 2012-01-21 00:08:13+00:00
State: open

As you know, we create all parts that are the bottom objects in the code generating process, such as imports, variables, etc.
So, Lets start creation of the more difficult snippets.
Create method snippet, that will have BraceSnippet inside, with some simple code. Remember also about arguments.

Steps to implement:
- create new Class, that should extends some CodeSnippet interface (list or set)
- see another CodeSnippet realization for example.
- Note, that your class should have BraceBlockCodeSnippet for the body of some method, ParenthesisCodeSnippet for arguments.
- Create tests based on the raw expected text.