> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/enum/enum.source_code.md).

# Enum.source\_code()

`source_code() → str`

## Query Example

```python
from glider import *

def query():
    contracts = Contracts().exec(1, 95)

    for enum in contracts.enums().exec():
      print(enum.source_code())

    return []
```

## Example Output

<figure><img src="/files/IY2YRprJJKTp6syKAFA1" alt=""><figcaption></figcaption></figure>
