Wiki

Ticket #278 (new idea)

Opened 7 years ago

Last modified 7 years ago

implanting Doc-strings inside Attributes to keep them in code to be readily assesed while programming

Reported by: RIGHT_THEN Owned by: Charles
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: doc-strings Cc:

Description

GentleMen?

i propose that doc-strings be implanted within the programm as attributes on c# side or are they allready.so that one can recover them programmatically for instance

def func  """ def doc-string"""

on csharp side

[CobraDocStringAttribute("def doc-string")]
void func()
{}

so while using the assembly one can get it logically like this

if method has CobraDocStringAttribute?
get DocString?

It would be good for future interpreters to see what something means.

Thanking_You
RIGHT_THEN

Change History

Changed 7 years ago by RIGHT_THEN

  • type changed from defect to idea
Note: See TracTickets for help on using tickets.