Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/dsisnero/codespan

    Types

    • Codespan
      • ByteIndex
      • ByteOffset
      • ColumnIndex
      • ColumnNumber
      • ColumnOffset
      • FileError
      • FileId
      • FileMissingError
      • Files
      • IndexTooLargeError
      • InvalidCharBoundaryError
      • LineIndex
      • LineNumber
      • LineOffset
      • LineTooLargeError
      • Location
      • Lsp
        • LspPosition
        • LspRange
      • RawIndex
      • RawOffset
      • Reporting
        • Diagnostic
        • Files
          • ColumnTooLargeError
          • Error
          • FileMissingError
          • FormatError
          • IndexTooLargeError
          • InvalidCharBoundaryError
          • LineTooLargeError
          • Location
          • SimpleFile
          • SimpleFiles
        • Label
        • LabelStyle
        • Severity
        • Term
          • Chars
          • Config
          • DisplayStyle
          • Locus
          • MultiLabel
          • MultiLabelType
          • Renderer
          • RichDiagnostic
          • ShortDiagnostic
          • SingleLabel
      • Span
    module

    Codespan

    Constants

    VERSION = "0.1.0"

    Class methods

    line_starts(source : String) : Array(Int32)
    Source
    wrap_raw_index(value : Int64) : RawIndex
    Source

    Nested types

    • Codespan::ByteIndex
    • Codespan::ByteOffset
    • Codespan::ColumnIndex
    • Codespan::ColumnNumber
    • Codespan::ColumnOffset
    • Codespan::FileError
    • Codespan::FileId
    • Codespan::FileMissingError
    • Codespan::Files
    • Codespan::IndexTooLargeError
    • Codespan::InvalidCharBoundaryError
    • Codespan::LineIndex
    • Codespan::LineNumber
    • Codespan::LineOffset
    • Codespan::LineTooLargeError
    • Codespan::Location
    • Codespan::Lsp
    • Codespan::RawIndex
    • Codespan::RawOffset
    • Codespan::Reporting
    • Codespan::Span

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal LanguageStatsSponsor

    The Bushido Collective builds and maintains this site.
    Licensed under the Apache License 2.0