History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-911
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Rodrigo B. de Oliveira
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

[MetaProgramming] name splicing for interfaces and interface methods

Created: 31/Oct/07 06:17 AM   Updated: 31/Oct/07 06:33 AM
Component/s: None
Affects Version/s: 0.8
Fix Version/s: 0.8.1

Time Tracking:
Not Specified


 Description  « Hide
"""
interface Bar:

	def bar()
"""
name = "bar"
type = [|
	interface $(name[:1].ToUpper() + name[1:]):
		
		def $name()
|]

print type.ToCodeString()


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.