C-minor v0.0

Topten.Cminor.Lexical Namespace

Classes

CodeFile

Holds the contents of a source code file, along with its filename and provides utility functions for stepping through its content.

CodePositionExtensions

Helper methods for working with CodePosition.

LineNumbers

Helper utility for converting file offsets to line numbers and line offsets

Tokenizer

Source code tokenzier

Structs

CodePosition

Represents a position within a StringSource with helpers to map back to the source itself and the line number and character offset

LinePosition

A source file position converted to a line number and offset within the line

Enums

Token

The different token types returned by the Tokenizer