Table of Contents

Namespace CdlToCSharp

Classes

Input

Tokenizer for CDL files (the class definition language of Open CASCADE), a leftover of the CdlToCSharp tool that converted CDL class definitions to C#; not used by CADability itself. It reads a file into a list of tokens (identifiers, numbers, string literals, special characters and "--" comments) and offers a cursor (Index) with helpers to consume tokens, to recognize keywords and to collect the "---Purpose" comments in Comment so that they can be turned into C# documentation comments.