| Copyright | Copyright (c) 2021-2025 Travis Cardwell |
|---|---|
| License | MIT |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
LiterateX.Types.SourceLine
Contents
Description
Type
data SourceLine Source #
Parsed source line
Since: 0.0.1.0
Constructors
| Shebang !Text | script shebang on first line |
| CodeBlank | code blank line |
| DocBlank | documentation blank line |
| Rule | comment rule used to organize source code |
| Doc !Text | documentation line |
| Code !Text | code line |
Instances
| Show SourceLine Source # | |
Defined in LiterateX.Types.SourceLine Methods showsPrec :: Int -> SourceLine -> ShowS # show :: SourceLine -> String # showList :: [SourceLine] -> ShowS # | |